Page 73 of 117

Posted: Wed 14 Nov 2012, 17:37
by sheldonisaac
zigbert wrote:sheldonisaac
I tested the KUSC radio url, and found it stopped playing after a few seconds. I wonder if you can play it?
Yes, as below:
Now I think I see.. one pastes the URL into the "box" at the top of the left pane, and presses Enter. This adds it to the playlist.
I then picked http://www.swissradio.ch/streams/6034.m3u which I use for Classical, and it plays fine here....
Yes, also here.

--------------
EDIT: Another question, please.

Some recent files I got with RadioHits Grabber are:


4096 2012-11-15 19:25 incomplete
4318522 2012-11-15 19:24 Max Steiner - Gone with the Wind Main Title.mp3
6599929 2012-11-15 19:18 Michael Fink - Monteverdiana.mp3
10177372 2012-11-15 19:11 Franz Liszt - Mephisto Waltz #1 S 514.mp3
12414160 2012-11-15 18:58 Georges Bizet - Patrie Overture Op 19.mp3
22747420 2012-11-15 18:44 Sergei Rachmaninoff - Rhapsody on a Theme of Paganini Op 43.mp3

I guess the file name is determined by what the radio station sends, and the Pmusic software.

But when I look at them with easytag , I do not see the actual artist who performs the music, but instead the composer is in the artist field.

How can I get the artist in addition to the other data?

trackinfo

Posted: Wed 14 Nov 2012, 21:13
by rodin.s
I think trackinfo by default is a good idea. I have no problems with it.

Posted: Fri 16 Nov 2012, 19:26
by zigbert
But when I look at them with easytag , I do not see the actual artist who performs the music, but instead the composer is in the artist field.

How can I get the artist in addition to the other data?
The first thing that has to be in place is meta info from the radio station. I have not seen any stations providing such info..... Pmusic is just reading the available info.


Sigmund

Posted: Fri 16 Nov 2012, 19:27
by zigbert
Version 3.0.0
See main post


Changelog
- Bump dependency to gtkdialog-0.8.2. (thanks to thunor)
- New dynamic index structure for local music (MyMusic).
. . . .- Track info are now being collected (and stored) during use.
. . . .- More track information
. . . . . . . .- Metatags and filepath
. . . . . . . .- Streaminfo - Fileformat, bitrate, length
. . . . . . . .- Links to lyrics and albumart.
. . . . . . . .- Rating and timestamps for each played song
. . . . . . . .- Disc-id and artist-id from musicbrainz.org
. . . .- Quick scan for music at first start (/root/ and /mnt/).
. . . .- index_all, index_alphabetic, index_playlists and index_rating are replaced by index_mymusic.
. . . .- Remove option 'Update only recent files'. This is now always true.
. . . .- Remove hot-key to MyMusic setup.
. . . .- MyMusic setup: Option to remove non-existing files from index.
. . . .- Masstagger updates db.
. . . .- Count indexed tracks in progressbar.
. . . .- Disable Index options during indexing MyMusic.
. . . .- Clean up temporary files after indexing.
. . . .- Bugfix: Indexing could run into infinite loop because 'find' follow symlinks. (thanks to rodin.s)
- Gui enhancements. (thanks to thunor).
. . . .- Moved Search-options into main gui from prefernces/external window.
. . . .- Sort from list-headers instead from menu/buttons.
. . . .- Show playing track in window title.
. . . .- Proper placement of right-click menu.
. . . .- Hide columns unimportant for user in sourcelist.
. . . .- Better alignment of albumart-thumb in main window.
. . . .- Tooltip text in playlist shows path to track
. . . .- Bugfix: More accurate update of state of play/pause button.
- More simplified usage.
. . . .- Restructured sourcelist when showing Overview.
. . . .- Simplified preferences.
- Preferences.
. . . .- All meta-options are now combined to one single option.
. . . .- Pmusic will convert %20 and _ to space in playlist. No option.
. . . .- Tray-app is moved to the plugin department (until we get a noarch-alternative).
. . . .- Squeezed all tabs in Music-sources into one single tab.
. . . .- Set default text editor is added to preferences.
- Save Music-Source navigation history.
. . . .- Undo/Redo in Music-Source history.
. . . .- Open history index from menu.
. . . .- Include last 20 history entries into overview.
- Playlist
. . . .- Faster adding tracks to playlist.
. . . .- New playlist format (*.pmu).
. . . . . . . .- |03:24|Artist - Title|/path/file.mp3|$(date +%s%N) /path/file.mp3
. . . . . . . .- Column 5 is invisible and nr is used to keep the track unique in list.
. . . . . . . .- Column 1 is for play-icon
. . . .- Removed check to avoid same track 2 times in a row.
- Collections.
. . . .- Add tracks from Album-tab in trackinfo.
. . . .- Store album lists locally (optioinal) for improved performance.
. . . .- Right-click option in sourcelist to look into lists.
. . . .- Show collections before tracks in search-result.
. . . .- Option to search for collections ONLY.
. . . .- Bugfix: *.album files are generated twice if capitals in tagging differ.
. . . .- Bugfix: *.album files contains m3u files as well.
. . . .- Bugfix: *.album files contains other artists with same album name
- New rating (most played) engine (thanks to jamesbond and L18L)
. . . .- Show most played tracks last day/week/month.
. . . .- Show most played tracks in a given period.
. . . .- Sort by rating by clicking on sourcelist header.
. . . .- Moved rating-info from 'Misc' tab to 'Stream' tab in trackinfo.
. . . .- Set default rating periode in rc file (default 60 days)
- Option to set data storage (outside of pup_save). (thanks to mikeslr)
- Save dialog
. . . .- Save as *.pmu (for speed) or *.m3u (for compatibility)
. . . .- Remove bookmark option. MyMusic index is dynamically updated.
. . . .- Remember state of save-path checkbox
. . . .- Option to manually set filename in filechooser (-newfile attribute).
. . . .- Press Enter-key in entry-field activates Save-button
. . . .- Overwrite question is default 'Yes'.
- Trackinfo
. . . .- Faster and more accurate updating of trackinfo.
. . . .- Trackinfo of NON-playing song is now working as good (and fast) as for playing.
. . . .- Album-tab is searching for matching files. Click to add to playlist.
. . . .- Lyrics
. . . . . . . .- Search in specific lyrics server.
. . . . . . . .- Quick-search to www when URL is stored at first match.
. . . . . . . .- Edit lyrics
. . . . . . . .- Remove (...) from title when searching lyrics.
. . . . . . . .- Bugfix: Neither azlyrics nor elyrics worked.
. . . .- Discophraphy
. . . . . . . .- Show disc-id from musicbrainz.
. . . . . . . .- Use tree widget to make columns sortable/clickable.
. . . . . . . .- By default, sort discophraphy in reveres order.
. . . .- Album art
. . . . . . . .- Use local pic as album art (*albumart*|*album_art*|*cover*.jpg|png). (thanks to 01micko)
. . . . . . . .- Refresh albumart with specific source.
. . . . . . . .- Bugfix: skip (..) from search string.
. . . . . . . .- Bugfix: Make big album-arts scrollable to avoid huge window.
. . . .- Tags
. . . . . . . .- Comment tag in trackinfo
. . . . . . . .- Save meta-tags updates the playlist name-column.
. . . . . . . .- Removed help-button.
. . . . . . . .- Msg: Save/Clear tags are only possible for local files.
. . . .- Better aligment in stream-tab.
. . . .- Removed 'Misc' tab.
. . . .- Stabilized grabbing from musicbrainz.org --> not so sensitive for format changes.
. . . .- If trackinfo for playing track is turned OFF, msg in trackinfo window.
. . . .- Bugfix: Trackinfo window sometimes stop updating.
. . . .- Bugfix: No msg for missing internet connection in metainfo entries
. . . .- Bugfix: Trackinfo failed if musicbrainz detects more than one possible album.
. . . .- Bugfix: Autosave albumart to local storage.
. . . .- Bugfix: Check internet connection in max 3 sec.
. . . .- Bugfix: Find more info if artist/title tag contains (...)
. . . .- Bugfix: Set correct grab-tags-icons for urls at first run. Hoovers...
- Search
. . . .- Allow searchwords with leading - to define what should NOT be in searchresult.
. . . .- Search options are available from the search-dock.
. . . .- Bugfix: AC/DC was treated as path because of the /. Paths always begin with /.
- Cpu-usage is reduced.
. . . .- Take advantage of file-monitor attribute in gtkdialog-0.8.2 (thanks to thunor).
. . . .- Simpler dataflow with the new dynamic index.
. . . .- Rewritten some challenging loops.
. . . .- LowPowered frontend is taken out of the official pet.
. . . .- Removed info about LowPowered at first run.
. . . .- Bugfix: Don't run func_progressbar if already running (thanks to rodin.s)
- Plugins
. . . .- New plugin structure. Stored in /usr/local/pmusic/plugins/
. . . .- Gui available from File menu: Install / uninstall / Run
. . . .- Every plugin has a corresponding rc file with information.
. . . .- Tray app (thanks to iguleder) is moved to plugins because pMusic is a strictly noarch app.
. . . .- Tray app is using svg-icon (thanks to 01micko)
. . . .- Search in indexed collections is moved to plugins.
- Radio-Hits
. . . .- Apply new tracks to main db.
. . . .- Removed Radio-Hits as search target.
. . . .- Always cleanup double/incomplete downloads.
. . . .- Use expander widget for 'more info'.
. . . .- Bugfix: Default preset to 1.FM 50-60s dies not work. Use 181.fm instead.
- Webmusic
. . . .- Updated WebMusic (jamendo) index.
. . . .- Removed splash during connection to jamendo.com.
. . . .- Bugfix: Add random from top100 gives wrong length.
. . . .- Bugfix: Kb/Sec column shows too much info.
- Bookmarks
. . . .- Autofill name field when browsing for file. (thanks to don570)
. . . .- Download dir is the same as data storage dir.
- Masstagger
. . . .- Add comment tag to masstagger.
. . . .- Adding number to genre tag converts tag to text-string before writing.
. . . .- Updates index file.
- Mixer
. . . .- Set maxvolume to 95% to avoid one more amp-channel go to h**l.
. . . .- Autodetection of active soundcard checks MultipleSoundCardWizard. (thanks to 01micko)
. . . .- Bugfix: Speaker list in prefernecees should depend on selected card. (thanks to 01micko)
. . . .- Bugfix: Can't set speaker channel with 2 words in name. (thanks to charlie6)
- NLS
. . . .- Use gettext (thanks to L18L)
. . . .- $LANGUAGE is now $MY_LANGUAGE to avoid conflict with gettext (thanks to L18L)
. . . .- All credits to translators is removed. I guess new translators have to start from scratch.
. . . .- Move translated help files to /usr/share/doc/help to be compatible with pman. (thanks to shinobar)
- Install
. . . .- Smoother version update: Keep older personal settings.
. . . .- Icon in .desktop file points to /usr/share/icons/hicolor/22x22/apps/pmusic.png
. . . .- Splash at first run.
. . . .- Add version check in pet.specs file. (thanks to BarryK)
. . . .- Bugfix: First run: Playmode shows loop, but is set to noloop.
- Frontends
. . . .- /usr/local/pmusic/presets are renamed to 'frontends'.
. . . .- Frontends are no longer available in View menu. Only in preferences.
. . . .- Wings (and LowPowered) frontend are not a part of the default installation
. . . .- Removed settings for Classic frontend.
- Nad4
. . . .- Not anymore a part of the default installation.
. . . .- Updates:
. . . . . . . .- Show active headers where sorting is possible.
. . . . . . . .- Adjust row height in GtkTreeView.
. . . . . . . .- GtkTreeView is similar to Clist (not playlist).
. . . . . . . .- New albumart icon
. . . . . . . .- It also contains the big (3d-ish) icon for pMusic.
. . . . . . . .- Bugfix: Ensure English output of ffmpeg with LANG=C. (thanks to rodin.s)
- Updated FAQ. Some quests are no longer relevant.
- Updated Radio stations index.
- Podcasts: download dir is removed and is instead the same as data storage dir.
- Add All/Random is squeezed to one function and moved to dock.
- New simpler pMusic icon in /usr/share/icons/hicolor/scalable/apps/pmusic.svg.
- Moved raster-icons from /usr/local/pmusic to /usr/share/icons/hicolor/22x22/apps/pmusic.png
- Bugfix: svg-color codes in rc.
- Bugfix: Pmusic kills other apps using ffmpeg (ffconvert) when exit. (thanks to shinobar)
- Bugfix: NowPlaying never returns to main gui.
- Bugfix: Use browser defined in preferences for showing faq and trackinfo URLs.
- Bugfix: Radio Station index builder won't run in background when started from Overview.
- Bugfix: Add URL with timestamp.
- Bugfix: No message if .m3u file does not exist.
- Bugfix: Quit pMusic from signal: quit (-s quit) as in tray-app.
- Bugfix: When checking web connection, limit test to only 1 sec.
- Bugfix: Exit reading of track info if file doen't exist.
- Bugfix: Some terminal output.
- Bugfix: No icon in playlist if doubleclick to start track.
- Bugfix: Accurate skip forward/back in playlist if similar tracks in list.
- Bugfix: Adding track from audio-CD gave an leading space to length-description in playlist.
- Bugfix: Use set search-path when calling up pFilesearch external window.
- Bugfix: pEqualizer doesn't take effect until you load Wings and restart.
- Bugfix: Autoplay audio-CD when opening .CD frontend.
- Bugfix: Play next song in playlist if it is the same song.
- Bugfix: If playlist item isn't valid, go to next.
- Bugfix: Remove not valid item from playlist by mid-click or right-click menu.
- Bugfix: Change Play/Pause icon when Stop playing.
- Bugfix: Dependency check 'pmusic -D' troubles with ffmpeg-0.11.x (thanks to 01micko)
- Bugfix: Start playing Track when choose 'PLay Audio CD' from File menu.
- Bugfix: Update playlist after started pMusic from terminal with a defined file/url.
- Bugfix: Check ftp-server (meownplanet) instead of $PING_SERVER for radio/webmusic.

Posted: Fri 16 Nov 2012, 19:58
by Flash
Do Precise Puppy users still have to install all the stuff on this page?

Posted: Fri 16 Nov 2012, 22:54
by pemasu
Do Precise Puppy users still have to install all the stuff on this page?
Not necessarily. There is now slightly modified Precise build using new woof.

http://www.smokey01.com/pemasu/UpupPrec ... ecise5X42/

Posted: Fri 16 Nov 2012, 23:40
by vicmz
Flash wrote:Do Precise Puppy users still have to install all the stuff on this page?
OK, that explains why the GUI didn't show up after installing in Precise 5.4.1 and trying to launch. However, in the background I could listen to a song I haven't got in my computer :shock: I tried to stop the processes but had to restart X for the sound to stop. Anyway, I'll follow the steps and tell later.

Posted: Sat 17 Nov 2012, 00:20
by vicmz
vicmz wrote:
Flash wrote:Do Precise Puppy users still have to install all the stuff on this page?
OK, that explains why the GUI didn't show up after installing in Precise 5.4.1 and trying to launch. However, in the background I could listen to a song I haven't got in my computer :shock: I tried to stop the processes but had to restart X for the sound to stop. Anyway, I'll follow the steps and tell later.
Success :D

Posted: Sat 17 Nov 2012, 10:43
by charlie6
Hi Sigmund,
images are self speaking ...

last edited: deleted image about msgid.
oooops...! :oops:
i just went to be aware that version 3.0.0 has been issued!
so welcome to pMusic-3.0.0,
and
many thanks + congrats to Sigmund !

Charlie

Posted: Sat 17 Nov 2012, 14:19
by charlie6
Hi Sigmund,
subject; french locale for pMusic-3.0.0
have already a lot - ca.70% translated - on 2.9.18 version;
now i noticed v.3.0.0 has extra msgid versus 2.9.18.

Wether i spent [aaargh!*@#=censured :oops: ]!! time to manualy copy/paste strings from pmusic-2.9.18.po to pmusic-3.0.0.po;
whether i ask for a (nice to have :D ) script to copy/paste the existing v2.9.18 msgstr to the relevant 3.0.0 msgid ...
(i did not already have found such a script in the forum ..).

Would - you - or somebody else - mind writing such a script?
(i can't figure out how much time it needs writing such a script)

thanks in advance for any comment or advice !
Charlie

gettext problem is back

Posted: Sat 17 Nov 2012, 20:46
by rodin.s
Gettext problem is back. Comments in line 104 of func_progressbar still has to be deleted.
charlie6, you don't need to do anything manually. poedit and Momanager could do it automatically. Place pmusc.mo for 2.9.18 in /usr/share/locale... where it should be and run MoManager. Generated new po-file will have all needed lines old and new.

Posted: Sun 18 Nov 2012, 06:24
by charlie6
Hi rodin.s,
many thanks ... your tip still comes in time ! :D
BTW, you'r right: i (again ) also had to uncomment line 104 to get MoManager doing its job.
Cheer, Charlie

Posted: Sun 18 Nov 2012, 08:23
by zigbert
Hello guys
Yes, I see I forgot the move the lines we talked about. Sorry for that. Now I am a bit confused, because my line 104 has no comments ???

Can you show me the code (ie. line 100-110) that works for you.


Thank you
Sigmund

Posted: Sun 18 Nov 2012, 09:36
by charlie6
Hi Sigmund,
zigbert wrote:...Can you show me the code (ie. line 100-110) that works for you.
IMHO see the code given by rodin.s and yourself on page96 this thread ... sorry if being a bit trivial...
Charlie

func_progressbar and xgettext

Posted: Sun 18 Nov 2012, 19:00
by rodin.s

Code: Select all

if [ "`echo "$TMP" | grep -F 'func_player -playing'`" ] && [ "`echo "$TMP" | grep -F 'cdda2wav'`" ]; then  #reading CD
					echo " $(gettext 'Reading CD')..." > $WORKDIR/statusbar
				else  #file/CD-track doesn't exist. For some unkown reason $PLAYLIST may hold ««« while reading the track. This only happens when using navigation buttons. Not when clicking in playlist.
#					if [ ! "`grep -F '«««' $WORKDIR/PLAYLIST`" ]; then
						echo "$(gettext 'Source not detected')" > $WORKDIR/statusbar
						echo "$(($(<$WORKDIR/statusbar_error)+1))" > $WORKDIR/statusbar_error
#					fi
				fi
			else #connecting
				echo " $(gettext 'Connecting')..." > $WORKDIR/statusbar
			fi
This code is from func_progressbar of pMusic-3 (lines 100-110). Symbols '«««' do not allow xgettext to generate pot-file.
I meant lines 102,103 but wrote the message after comments were deleted and lines numbers were changed.

Posted: Mon 19 Nov 2012, 08:37
by charlie6
Hi,
while translating, and checking the various translated windows, i also noticed that some msgids from func_trackinfo were not included in the resultant pmusic.po(t) created by MoManager. (i.e. 'Nothing found' , 'Sample rate', etc... which are in track-info window /stream thumbnail)

So i inserted them manualy in my pmusic.po file.

Maybe there are others i did not found yet.

I did not try to know the cause nor to fix it.

Charlie

Posted: Wed 21 Nov 2012, 12:50
by zigbert
I have fixed the gettext issue in func_progressbar and some other minor bugs. But I think I wait with 3.0.1 to see that mo-files works as expected.


Sigmund

Posted: Wed 21 Nov 2012, 12:53
by zigbert
charlie6 wrote:Hi,
while translating, and checking the various translated windows, i also noticed that some msgids from func_trackinfo were not included in the resultant pmusic.po(t) created by MoManager. (i.e. 'Nothing found' , 'Sample rate', etc... which are in track-info window /stream thumbnail)

So i inserted them manualy in my pmusic.po file.

Maybe there are others i did not found yet.

I did not try to know the cause nor to fix it.

Charlie
If you track down what actually fails, please share. It would be nice to know if it is pMusic or MoManager that fails.


Sigmund

func_trackinfo

Posted: Wed 21 Nov 2012, 15:40
by rodin.s
There is no line 'export TEXTDOMAIN=pmusic' in func_trackinfo so MoManager does not include it in the list of files to work with. It could be added to line 5.

Re: func_trackinfo

Posted: Wed 21 Nov 2012, 18:11
by zigbert
rodin.s wrote:There is no line 'export TEXTDOMAIN=pmusic' in func_trackinfo so MoManager does not include it in the list of files to work with. It could be added to line 5.
Thank you !!!! fixed for 3.0.1


Sigmund