pMusic 6.0.0
Hello Zigbert,
Pmusic has a symbolic link in /usr/local/pmusic/locals for the english locales that is linked to:
/mnt/sdb1/prioritet 1/privat/prg/bash/pmusic/pmusic-2.6.0/usr/share/locale/en/LC_MESSAGES/pmusic
I do think: nobody and no puppy does have this location.
Shouldn't it be better a symbolic link to: /usr/share/locale/en/LC_MESSAGES/pmusic ?
RSH
BTW.
What do you think about another icon for pcd and/or pmusic-dc-player?
Pmusic has a symbolic link in /usr/local/pmusic/locals for the english locales that is linked to:
/mnt/sdb1/prioritet 1/privat/prg/bash/pmusic/pmusic-2.6.0/usr/share/locale/en/LC_MESSAGES/pmusic
I do think: nobody and no puppy does have this location.
Shouldn't it be better a symbolic link to: /usr/share/locale/en/LC_MESSAGES/pmusic ?
RSH
BTW.
What do you think about another icon for pcd and/or pmusic-dc-player?
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
RSH
Thank you - packed yet another time and version 2.6.0-2 is uploaded. See main post.
Regarding the CD-icon, I try to keep kb to a minimum. Another 5kb for an icon feels a bit too much. BUT, I am playing with some new disc-art for Pburn..... but the future is vectorgraphics (I think).
_______________________________
I tried to upload some SVGs here but 'extension not allowed' ????
Sigmund
Thank you - packed yet another time and version 2.6.0-2 is uploaded. See main post.
Regarding the CD-icon, I try to keep kb to a minimum. Another 5kb for an icon feels a bit too much. BUT, I am playing with some new disc-art for Pburn..... but the future is vectorgraphics (I think).
_______________________________
I tried to upload some SVGs here but 'extension not allowed' ????
Sigmund
If John Murga's maintenance doesn't fix it, I'll look into it after I've found the time to try out the latest version of Pmusic for converting CDs. Meanwhile you can rename the file extension to something the forum allows (jpeg or png perhaps,) with a note in the post saying to rename the file with the correct extension.zigbert wrote:... I tried to upload some SVGs here but 'extension not allowed' ???? ...
Flash
Yes, I can rename the file or compress it, but the image does not show up in the forum post (as for a png). It would be good to see support of svg-images.
Thank you
Sigmund
Yes, I can rename the file or compress it, but the image does not show up in the forum post (as for a png). It would be good to see support of svg-images.
Thank you
Sigmund
- Attachments
-
- cdrom2.svg.png
- (62.9 KiB) Downloaded 434 times
I downloaded the .svg which I opened with mtPaint then saved as a jpeg. The background didn't come out the same.
- Attachments
-
- cdrom2.jpg
- (8.25 KiB) Downloaded 558 times
message file
Pmusic 2.6.1 has a message file at /usr/share/locale/en/LC_MESSAGES/pmusic. I think the file is better to be under the application directory, that is /usr/local/pmusic, because it is not a translation but one of the essential components.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
pmusic_CD fails at the first time
Installed Pmusic 2.6.1 on lupu-528.005. LANG=en_US.
Remove /root/.pmusic.
Run 'pmusic' ... seems OK (but fails connecting to the remote server).
Insert an audio CD, and run 'pmusic_CD /dev/sr0' ...OK.
Remove /root/.pmusic.
Insert an audio CD, and run 'pmusic_CD /dev/sr0' ... Shows the window but Never plays the CD.
Stop the pmusic, re-run pmusic_CD /dev/sr0' ... OK.
Stop the pmusic, re-run 'pmusic' .. Starts in the task tray, but Never shows window.
Remove /root/.pmusic.
Run 'pmusic' ... seems OK (but fails connecting to the remote server).
Insert an audio CD, and run 'pmusic_CD /dev/sr0' ...OK.
Remove /root/.pmusic.
Insert an audio CD, and run 'pmusic_CD /dev/sr0' ... Shows the window but Never plays the CD.
Stop the pmusic, re-run pmusic_CD /dev/sr0' ... OK.
Stop the pmusic, re-run 'pmusic' .. Starts in the task tray, but Never shows window.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
Re: message file
I see... Added to todo-list (also for Pburn)shinobar wrote:Pmusic 2.6.1 has a message file at /usr/share/locale/en/LC_MESSAGES/pmusic. I think the file is better to be under the application directory, that is /usr/local/pmusic, because it is not a translation but one of the essential components.
Thank you
Sigmund
Re: pmusic_CD fails at the first time
Hmmm. waiting for more reports....shinobar wrote:Installed Pmusic 2.6.1 on lupu-528.005. LANG=en_US.
Remove /root/.pmusic.
Run 'pmusic' ... seems OK (but fails connecting to the remote server).
Insert an audio CD, and run 'pmusic_CD /dev/sr0' ...OK.
Remove /root/.pmusic.
Insert an audio CD, and run 'pmusic_CD /dev/sr0' ... Shows the window but Never plays the CD.
Stop the pmusic, re-run pmusic_CD /dev/sr0' ... OK.
Stop the pmusic, re-run 'pmusic' .. Starts in the task tray, but Never shows window.
- OscarTalks
- Posts: 2196
- Joined: Mon 06 Feb 2012, 00:58
- Location: London, England
Hello Zigbert,
Just experimenting with Pmusic for listening to radio streams and pleased to say that these recent versions are working very well.
I can listen to mp3 and AAC+ streams from the direct URL and also it works if I enter the URL of a .pls playlist metafile.
I was wondering if it should be possible also to play wma streams because some radio stations do use this format?
I know Pmusic plays wma files OK, but streams seem to be a bit different. In WMP you have to use mms:// as the protocol to play a wma stream. Using http:// does not work. Do I need extra plugins or libs or something?
If I enter the URL "http://streamer5.securenetsystems.net:80/WFTL" into VLC it will play the wma stream of station WFTL in Florida. VLC media information shows the stream URL as being "mms://streamer5.securenetsystems.net/WFTL" but neither of these connect to the stream in Pmusic.
Any ideas?
Just experimenting with Pmusic for listening to radio streams and pleased to say that these recent versions are working very well.
I can listen to mp3 and AAC+ streams from the direct URL and also it works if I enter the URL of a .pls playlist metafile.
I was wondering if it should be possible also to play wma streams because some radio stations do use this format?
I know Pmusic plays wma files OK, but streams seem to be a bit different. In WMP you have to use mms:// as the protocol to play a wma stream. Using http:// does not work. Do I need extra plugins or libs or something?
If I enter the URL "http://streamer5.securenetsystems.net:80/WFTL" into VLC it will play the wma stream of station WFTL in Florida. VLC media information shows the stream URL as being "mms://streamer5.securenetsystems.net/WFTL" but neither of these connect to the stream in Pmusic.
Any ideas?
Last edited by OscarTalks on Fri 01 Jun 2012, 01:22, edited 1 time in total.
Oscar in England
Re: pmusic_CD fails at the first time
There may be several issues. To get it simple, I tried:shinobar wrote:Remove /root/.pmusic.
Insert an audio CD, and run 'pmusic_CD /dev/sr0' ... Shows the window but Never plays the CD.
Stop the pmusic, re-run pmusic_CD /dev/sr0' ... OK.
Stop the pmusic, re-run 'pmusic' .. Starts in the task tray, but Never shows window.
Insert an audio CD. Then,
Code: Select all
# rm -fr ~/.pmusic
# pmusic -c
But never filled the playlist and never plays the CD.
The console repeats forever the following:
Code: Select all
/usr/local/pmusic/func_player: line 238: [: -lt: unary operator expected
/usr/local/pmusic/func_player: line 239: [: -lt: unary operator expected
/usr/local/pmusic/func_player: line 240: [: =: unary operator expected
Checked running process from another terminal, and found the 'func_cd -play_cd' and 'func_cd -read_cd' are running.
I suspect 'func_cd -read_cd' has got in an infinitive loop at line 28-40.
I looked up /root/.pmusic/tmp/cd-cddb.
It was only 1 line ( or 3 for some try) like:
Code: Select all
Type: ROM, Vendor 'PIONEER ' Model 'BD-RW BDR-206D' Revision '1.05' MMC+CDDA
I guess the cdda2wav is called from the 'func_cd -read_cd', but be killed soon by another parallel process.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
Pmusic supports whatever ffmpeg supports, and at the moment it does NOT support wma-streams. I haven't checked recent development of ffmpeg - it seems rather active - 0.11 was released the other day, and i haven't checked what news it brings.OscarTalks wrote:I was wondering if it should be possible also to play wma streams
Good to hear that (else of wma) it works for you
Sigmund
shinobar
I made a check here, and run 'pmusic -c' - everything works as expected. It would be very helpful if you determined where it all goes wrong. I suspect func_cd line 38 or 53 that kills the ongoing cdda2wav when pmusic has got enough info to continue. line 38 if CD holds internal cd-text information, line 53 if not, and trying to fetch info from internet.
What if you run the cdda2wav command in terminal? - is everything ok.....
this is my /root/.pmusic/tmp/cd-cddb
Thank you alot
Sigmund
I made a check here, and run 'pmusic -c' - everything works as expected. It would be very helpful if you determined where it all goes wrong. I suspect func_cd line 38 or 53 that kills the ongoing cdda2wav when pmusic has got enough info to continue. line 38 if CD holds internal cd-text information, line 53 if not, and trying to fetch info from internet.
What if you run the cdda2wav command in terminal? - is everything ok.....
this is my /root/.pmusic/tmp/cd-cddb
Code: Select all
Type: ROM, Vendor 'ASUS ' Model 'BW-12B1LT ' Revision '1.03' MMC+CDDA
765952 bytes buffer memory requested, transfer size 524288 bytes, 4 buffers, 75 sectors
cdda2wav: Read TOC CD Text failed (probably not supported).
#Cdda2wav version 3.01a02_linux_2.6.35.7-smp_i686_amd-athlon-tm--ii-x2-235e-processor, real time sched., soundcard, libparanoia support
33 sectors of audio data before track #0
AUDIOtrack pre-emphasis copy-permitted tracktype channels
1- 9 no no audio 2
Table of Contents: total tracks:9, (total time 44:13.22)
1.( 7:04.62), 2.( 4:34.43), 3.( 3:59.60), 4.( 4:20.42), 5.( 5:21.60),
6.( 5:12.13), 7.( 3:57.45), 8.( 4:56.65), 9.( 4:45.07)
Table of Contents: starting sectors
1.( 33), 2.( 31895), 3.( 52488), 4.( 70473), 5.( 90015),
6.( 114150), 7.( 137563), 8.( 155383), 9.( 177648), lead-out( 199030)
CDINDEX discid: lyiUl6aboZkOwWVswJKRZTPYbAg-
CDDB discid: 0x600a5d09 CDDBP titles: resolved
CD-Text: not detected
CD-Extra: not detected
Album title: 'Perfect Strangers (Japan, P33P 50001)' [from Deep Purple]
Track 1: 'Knocking At Your Back Door'
Track 2: 'Under The Gun'
Track 3: 'Nobody's Home'
Track 4: 'Mean Streak'
Track 5: 'Perfect Strangers'
Track 6: 'A Gypsy's Kiss'
Track 7: 'Wasted Sunsets'
Track 8: 'Hungry Daze'
Track 9: 'Not Responsible'
scanning for MCN...
Media catalog number: 0042282377722
scanning for ISRCs: 1 ...
Thank you alot
Sigmund
- Dougal
- Posts: 2502
- Joined: Wed 19 Oct 2005, 13:06
- Location: Hell more grotesque than any medieval woodcut
WMA streams are called ASF.zigbert wrote:Pmusic supports whatever ffmpeg supports, and at the moment it does NOT support wma-streams.OscarTalks wrote:I was wondering if it should be possible also to play wma streams
My Sep. 2009 ffmpeg supports it...
Code: Select all
ffmpeg -formats 2>&1| grep -i asf
DE asf ASF format
E asf_stream ASF format
BTW, you can also config the browser to launch Pmusic etc. automatically for an MMS stream...
It can be added in about:config as
Code: Select all
network.protocol-handler.app.mms string appname
More simply, in the browser config directory, prefs.js should include:
Code: Select all
user_pref("network.protocol-handler.app.mms", "appname");
user_pref("network.protocol-handler.warn-external.mms", false);
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Some say your nose
Some say your toes
But I think it's your mind
pmusic -c fails at the first time
I am on lupu-528JP(developping). Re-installed your pmusic 2.6.1.pet.zigbert wrote:I made a check here, and run 'pmusic -c' - everything works as expected.
Insert an audio CD. Removed the pmusic work directry to initialize because it occurs only once at the first time.
Code: Select all
# rm -fr ~/.pmusic
# pmusic -c
#
/usr/local/pmusic/func_player: line 238: [: -lt: unary operator expected
/usr/local/pmusic/func_player: line 239: [: -lt: unary operator expected
/usr/local/pmusic/func_player: line 240: [: =: unary operator expected
/usr/local/pmusic/func_player: line 254: /root/.pmusic/tmp/tmpPLAYLIST: No such file or directory
/usr/local/pmusic/func_player: line 238: [: -lt: unary operator expected
/usr/local/pmusic/func_player: line 239: [: -lt: unary operator expected
/usr/local/pmusic/func_player: line 240: [: =: unary operator expected
/usr/local/pmusic/func_player: line 254: /root/.pmusic/tmp/tmpPLAYLIST: No such file or directory
...(infinitive repeat)
Suppose it is not by the func_cd line 38 nor 53 because cdda2wav have not yet gives enough information.
I suspect another proccess. Following the 'ps' result.
Code: Select all
# ps > ps.txt
# grep pmusic ps.txt
16383 root 0:00 /bin/sh /usr/local/pmusic/func_cd -play_cd
16459 root 0:00 /bin/sh /usr/local/pmusic/func_cd -read_cd
16460 root 0:00 /usr/local/pmusic/pmusic_tray
16470 root 0:00 /bin/bash /usr/local/pmusic/box_splash
16524 root 0:00 gtkdialog4 -p pmusic_splash --center
16642 root 0:00 gtkdialog4 -f /root/.pmusic/tmp/xml_Pmusic -G +20+20
16667 root 0:00 sh -c while [ "$I" != "100" ]; do I=`cat /root/.pmusic/tmp/splash`; echo $I; usleep 500000; done
22365 root 0:00 /bin/bash /usr/local/pmusic/func_player -playing -next
22630 root 0:00 /bin/sh /usr/local/pmusic/func_cd -read_cd
Last edited by shinobar on Sat 02 Jun 2012, 04:00, edited 1 time in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
Who kills cdda2wav?
pmusic line 182-185 wrote: -c) #if used in combination with the -j switch, Keep -j before -c
$APPDIR/func_store_playlist
$APPDIR/func_cd -play_cd &
;;
pmusic line 377-380 wrote:#more firstrun - this will only run if gui shows up. It might be that first run is with parameters like --version.
if [ "$FIRSTRUN" = "true" ]; then
$APPDIR/func_player -play -autoplay &
fi
func_player line 309-315 wrote: #start new process
$APPDIR/func_kill
echo 0 > $WORKDIR/SS
echo 0 > $WORKDIR/PERCENT_BAR
#---
cp -f $WORKDIR/PLAYLIST $WORKDIR/PLAYLIST_PRESS_EVENT #fake a button click - store unique nr for ie play-icon - see -playing). $WORKDIR/PLAYLIST does not store playlist-number
$APPDIR/func_player -playing -next &
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]
save cdda2wav
I don't know what zigbert intended, but i commented out the line 377-380 of pmusic for testing.
Needed 2 more tweaks.
1. Insert sleep in the loop, func_cd line 28-40:
Needed 2 more tweaks.
1. Insert sleep in the loop, func_cd line 28-40:
2. Failsafe for SS:func_cd at line 28 wrote: while [ ! "$BREAK" ]; do sleep 1
Works as expected for the first run of the 'pmusic -c'.func_player at line 130 wrote: SS=($(<"$WORKDIR/SS")) || SS=0
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]