pMusic 6.0.0
Asunder playlist bug
I have spent some time with Asunder. I created a playlist with Asunder.
The playlist was named Unknown Artist - Unknown Album.wav.m3u
because I don't have internet access.
Rox Filer's 'Run' feature resulted in doubling of tracks. There should only
have been only two tracks.
[url[/url]
...but using Pmusic built-in file manager opened the playlist correctly.
[url[/url]
I wonder what it is about that name that would do that.... the spaces or the hyphen??
____________________________________________________
My image server changed it's interface drastically, but it seems to
be working now. It's name is upmyphoto.com
The playlist was named Unknown Artist - Unknown Album.wav.m3u
because I don't have internet access.
Rox Filer's 'Run' feature resulted in doubling of tracks. There should only
have been only two tracks.
[url[/url]
...but using Pmusic built-in file manager opened the playlist correctly.
[url[/url]
I wonder what it is about that name that would do that.... the spaces or the hyphen??
____________________________________________________
My image server changed it's interface drastically, but it seems to
be working now. It's name is upmyphoto.com
Bug: (pmusic 1.1.1)
Workaround:
Use the default locale without translations. func_lyric, line 28:
func_lyrics wrote:wget -S --spider -T 1 puppylinux.com 2> $WORKDIR/tmp
if [ ! "`grep 'connected' $WORKDIR/tmp`" ]; then
Built-in lyrics fetcher won't work if you have wget in a language different than english ('connected' = 'conectado' in spanish).func_lyrics 11,29 wrote:grep 'connected'
Workaround:
Use the default locale without translations. func_lyric, line 28:
Code: Select all
LANG=C wget -S --spider -T 1 puppylinux.com 2> $WORKDIR/tmp
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]
Drag ang drop support
Does the latest pmusic has a drag and drop support for loading the music files?
reply
There's no drag and drop support at all due to simple code that Zigbert uses
for his projects. That's why you need to learn about 'Bookmarks' in Pmusic
and the 'Set Run' feature in Rox Filer to make the program usable.
Read those sections of the FAQ.
for his projects. That's why you need to learn about 'Bookmarks' in Pmusic
and the 'Set Run' feature in Rox Filer to make the program usable.
Read those sections of the FAQ.
Last edited by don570 on Thu 12 Aug 2010, 17:18, edited 1 time in total.
characters entered in Bash shell
I read the following about Bash at
http://tldp.org/HOWTO/Unicode-HOWTO-4.html
http://tldp.org/HOWTO/Unicode-HOWTO-4.html
4.1 Shells
bash
By default, GNU bash assumes that every character is one byte long and one column wide. A patch for bash 2.04, by Marcin 'Qrczak' Kowalczyk and Ricardas Cepas, teaches bash about multibyte characters in UTF-8 encoding. bash-2.04-diff
Double-width characters, combining characters and bidi are not supported by this patch. It seems a complete redesign of the readline redisplay engine is needed.
-
- Posts: 16
- Joined: Tue 03 Aug 2010, 03:16
error
whenever I try to play some music files, I get a
/usr/local/pmusic/func: line 506: id3info: command not found
on rxvt and then it tries to play the files. On it's gui, it says bufferring ... please wait. on rxvt its says
grep: 1: No such file or directory
grep: 1: No such file or directory
grep: 1: No such file or directory
grep: 1: No such file or directory
grep: 1: No such file or directory
and so on and on and on.
I've tried to search for a similar problem but its on a quirky
http://www.murga-linux.com/puppy/viewto ... 4cd57f0c5a
the puppy i'm using is Lupu 5.1. And yes, I've installed Gnome mplayer and can even play music on Gxine as workaround for this problem. What I'm after right now, is on how to solve this kind(s) of problem(s). For academic purposes, let's just say. ::]
Anyone's help is highly appreciated.
/usr/local/pmusic/func: line 506: id3info: command not found
on rxvt and then it tries to play the files. On it's gui, it says bufferring ... please wait. on rxvt its says
grep: 1: No such file or directory
grep: 1: No such file or directory
grep: 1: No such file or directory
grep: 1: No such file or directory
grep: 1: No such file or directory
and so on and on and on.
I've tried to search for a similar problem but its on a quirky
http://www.murga-linux.com/puppy/viewto ... 4cd57f0c5a
and instead of line 506, it's on line 470.tiangeng wrote:# pmusic
/usr/local/pmusic/func: line 470: id3info: command not found
/usr/local/pmusic/func_player: line 117: /root/.pmusic/tmp/exec: cannot execute binary file
the puppy i'm using is Lupu 5.1. And yes, I've installed Gnome mplayer and can even play music on Gxine as workaround for this problem. What I'm after right now, is on how to solve this kind(s) of problem(s). For academic purposes, let's just say. ::]
Anyone's help is highly appreciated.
reply
I got a mysterious buffering message and in my case it was a dumb error by
me. I had forgotten to mount my hard drive!
...but in your case it looks like ffmpeg which is the app in the background
that really is the code that runs Pmusic, is not recognizing your file.
All I can suggest is look up the manual fo ffmpeg online http://ffmpeg.org/documentation.html
but it's one of the most complex apps to understand that I've ever seen!
me. I had forgotten to mount my hard drive!
...but in your case it looks like ffmpeg which is the app in the background
that really is the code that runs Pmusic, is not recognizing your file.
All I can suggest is look up the manual fo ffmpeg online http://ffmpeg.org/documentation.html
but it's one of the most complex apps to understand that I've ever seen!
Re: FAQ addition
Added!don570 wrote:Here is yet another change to faq.
Code: Select all
Q: Is Pmusic integrated with the program Asunder? A: No, but here are some tips to use Asunder better with Pmusic. First, look under Asunder's Preferences to find the "Destination Folder'. Now launch Pmusic and make Asunder's Destination Folder a Bookmark. Here's another tip. Asunder has a feature 'Create M3U playlist' available in it's preferences. Make sure this is selected. Also make sure that Rox Filer has it's 'Set Run Action' to open the .m3u file extension with the command 'pmusic -a "$@"'. This is done with a right click on the file when using Rox Filer. Better still, use the file browser built into Pmusic to open this playlist created by Asunder.
Thanks
Sigmund
Re: Asunder playlist bug
Be sure that you have quoted the expression in rox run-action: pmusic "$1"don570 wrote:I have spent some time with Asunder. I created a playlist with Asunder.
The playlist was named Unknown Artist - Unknown Album.wav.m3u
because I don't have internet access.
Rox Filer's 'Run' feature resulted in doubling of tracks. There should only
have been only two tracks.
[url[/url]
...but using Pmusic built-in file manager opened the playlist correctly.
[url[/url]
I wonder what it is about that name that would do that.... the spaces or the hyphen??
____________________________________________________
My image server changed it's interface drastically, but it seems to
be working now. It's name is upmyphoto.com
Fixed for next releasewow wrote:Use the default locale without translations. func_lyric, line 28:Code: Select all
LANG=C wget -S --spider -T 1 puppylinux.com 2> $WORKDIR/tmp
Thanks a lot
Sigmund
Re: characters entered in Bash shell
You can always 'fool' bash to work with 'any' char by adding a \ in front of the char. Our problem is that the copy/rename function works inside the gui-tags, and those (gtkdialog) are not as easy to fool. But we'll get there.......i thinkdon570 wrote:I read the following about Bash at
http://tldp.org/HOWTO/Unicode-HOWTO-4.html4.1 Shells
bash
By default, GNU bash assumes that every character is one byte long and one column wide. A patch for bash 2.04, by Marcin 'Qrczak' Kowalczyk and Ricardas Cepas, teaches bash about multibyte characters in UTF-8 encoding. bash-2.04-diff
Double-width characters, combining characters and bidi are not supported by this patch. It seems a complete redesign of the readline redisplay engine is needed.
Sigmund
Re: error
I see that Puppy 5.1 is missing id3info. I will inform the developers. I don't know if it is done by purpose or is simply forgotten....breslavian wrote:whenever I try to play some music files, I get a
/usr/local/pmusic/func: line 506: id3info: command not found
I wonder, how does your '/root/.pmusic/tmp/exec' look. What is its content, and is it set to executable?breslavian wrote:and instead of line 506, it's on line 470.tiangeng wrote:# pmusic
/usr/local/pmusic/func: line 470: id3info: command not found
/usr/local/pmusic/func_player: line 117: /root/.pmusic/tmp/exec: cannot execute binary file
Sigmund
Re: reply
but it's one of the most complex apps to understand that I've ever seen!
That is why we need guis
Sigmund
Re: error
Hmmm.....zigbert wrote:I see that Puppy 5.1 is missing id3info. I will inform the developers. I don't know if it is done by purpose or is simply forgotten....breslavian wrote:whenever I try to play some music files, I get a
/usr/local/pmusic/func: line 506: id3info: command not found
As you know we are building from Ubuntu binaries... the id3 libraries made it but the execs did not.. perhaps in Ubuntu they are separate packages (as many in the Ubuntu structure are) and woof just thought to look for 1 package for id3.
Duly noted and will be fixed.
Cheers
Puppy Linux Blog - contact me for access
I added another server to the lyrics script, this one has some non-english lyrics (mostly in spanish).
http://lyrc.com.ar/
I did use iconv to encode the file, to fix this:
http://lyrc.com.ar/
Code: Select all
#lyrc.com.ar
if [ ! "$LYRICS" ]; then
echo 90 > $WORKDIR/splash
TMP_ARTIST="`echo $LYRICS_SONG | tr '_' ' ' | sed -e 's/ - /_/g' | cut -d '_' -f 1 | tr ' ' _ | tr '/' '_'`"
TMP_SONG="`echo $LYRICS_SONG | tr '_' ' ' | sed -e 's/ - /_/g' | cut -d '_' -f 2 | tr ' ' _ | tr '/' '_'`"
wget --tries=1 -O $WORKDIR/lyrics http://lyrc.com.ar/lyric/for/$TMP_SONG/by/$TMP_ARTIST
LYRICS="`cat $WORKDIR/lyrics | grep -A 200 -m 1 'viewvideomusic.com' | grep -B 200 -m 1 '</font>' | grep -v videomusic | grep -vi '/font' | sed -e "s/<[^>]*>//g"`"
echo "$LYRICS" > $WORKDIR/lyrics.latin1
#encoding
iconv --from-code=ISO-8859-1 --to-code=UTF-8 $WORKDIR/lyrics.latin1 > $WORKDIR/lyrics
fi
I did use iconv to encode the file, to fix this:
Code: Select all
(gtkdialog3:29322): Gtk-CRITICAL **: gtk_text_buffer_emit_insert: assertion `g_utf8_validate (text, len, NULL)' failed
- Attachments
-
- func_lyrics.tar.bz2
- patched file
- (1.33 KiB) Downloaded 259 times
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]
Version 1.2.0
See main post
Changelog
- New 'Radio' module
--> Including radio-stations organized in genre and country.
--> Generate updated radio-station-database from www. (thanks to 01micko)
- Overall improved bookmarking
--> Bookmark without using manager window
--> Bookmark files (also with timestamp) and search-strings (thanks to limmor)
--> Improvements of bookmark-manager
--> Add $HOME to bookmarks as default
--> New button in music-source window to bookmark location
- New parameter: '-t' --> set start time offset
- Options: convert underscores and %20 to blank. (thanks to don570)
- New lyrics filter: http://lyrc.com.ar (thanks to wow)
- Remember last search-text after adding song
- Click enter in search field adds song if there is only one song in add-list
- Clear history of RECENT played. See preferences. (thanks to don570)
- Download faq if not in local filesystem
- Bugfix: Remove bookmarks that contains special chars
- Bugfix: Rename bookmark doesn't delete the old
- Bugfix: Add several similar bookmarks
- Bugfix: Store playlist to history when click clear-list-button
- Bugfix: Rename '2barks.wav' to '2barks&.wav' I got '2barks2barks' in playlist (thanks to don570)
- Bugfix: Add random and then move added file in playlist
- NLS: Added $LOC136, 222, 248, 263, 265, 266, 269, 317, 468, 469, 490, 491
- NLS: Changed $LOC276
See main post
Changelog
- New 'Radio' module
--> Including radio-stations organized in genre and country.
--> Generate updated radio-station-database from www. (thanks to 01micko)
- Overall improved bookmarking
--> Bookmark without using manager window
--> Bookmark files (also with timestamp) and search-strings (thanks to limmor)
--> Improvements of bookmark-manager
--> Add $HOME to bookmarks as default
--> New button in music-source window to bookmark location
- New parameter: '-t' --> set start time offset
- Options: convert underscores and %20 to blank. (thanks to don570)
- New lyrics filter: http://lyrc.com.ar (thanks to wow)
- Remember last search-text after adding song
- Click enter in search field adds song if there is only one song in add-list
- Clear history of RECENT played. See preferences. (thanks to don570)
- Download faq if not in local filesystem
- Bugfix: Remove bookmarks that contains special chars
- Bugfix: Rename bookmark doesn't delete the old
- Bugfix: Add several similar bookmarks
- Bugfix: Store playlist to history when click clear-list-button
- Bugfix: Rename '2barks.wav' to '2barks&.wav' I got '2barks2barks' in playlist (thanks to don570)
- Bugfix: Add random and then move added file in playlist
- NLS: Added $LOC136, 222, 248, 263, 265, 266, 269, 317, 468, 469, 490, 491
- NLS: Changed $LOC276