pMusic 6.0.0

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1161 Post by zigbert »

What a blunder. Version 2.6.0 wasn't packed correct - which lead to some unexpected graphical results.

Now packed one more time, and tested on another pc.
Please install Pmusic-2.6.0-1 from main post.


Apologize
Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1162 Post by zigbert »

Flash
- I will look at the double numbering.
- Pmusic 2.6.0 probably didn't show a progress bar during rip. 2.6.0-1 should.
- To get rid of the dark theme, please change 'Theme' in the preferences to Gtk.


Sigmund

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#1163 Post by RSH »

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?
Attachments
cd-b.png
(5.55 KiB) Downloaded 581 times
cd.png
(5.76 KiB) Downloaded 571 times
[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]

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1164 Post by zigbert »

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

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#1165 Post by Flash »

zigbert wrote:... I tried to upload some SVGs here but 'extension not allowed' ???? ...
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. :wink: 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.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1166 Post by zigbert »

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
Attachments
cdrom2.svg.png
(62.9 KiB) Downloaded 434 times

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#1167 Post by Flash »

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

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1168 Post by zigbert »

Version 2.6.1
See main post

Changelog
- 'Gtk' is updated and set to default theme.
- Bugfix: Skip tracknr in ripped-CD-name if 'Add numering' is true. (thanks to Flash)
- Bugfix: Update albumart/nowplaying if missing meta info.
- Bugfix: Trackinfo: After saving tags, other trackinfo disappears.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

message file

#1169 Post by shinobar »

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]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

pmusic_CD fails at the first time

#1170 Post by shinobar »

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.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

Re: message file

#1171 Post by zigbert »

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.
I see... Added to todo-list (also for Pburn)


Thank you
Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

Re: pmusic_CD fails at the first time

#1172 Post by zigbert »

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.
Hmmm. waiting for more reports....

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#1173 Post by OscarTalks »

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?
Last edited by OscarTalks on Fri 01 Jun 2012, 01:22, edited 1 time in total.
Oscar in England
Image

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: pmusic_CD fails at the first time

#1174 Post by shinobar »

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.
There may be several issues. To get it simple, I tried:
Insert an audio CD. Then,

Code: Select all

# rm -fr  ~/.pmusic
# pmusic -c
A 'Detecting CD' splash arose, and another GUI with blank playlist shows.
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
Firstly, i suspected some infinity loop in the 'func_player', but...
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
The cdda2wav should give more output. But there left only the first 1-3 lines.
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]

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1175 Post by zigbert »

OscarTalks wrote:I was wondering if it should be possible also to play wma streams
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.


Good to hear that (else of wma) it works for you
Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1176 Post by zigbert »

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

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

User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

#1177 Post by Dougal »

zigbert wrote:
OscarTalks wrote:I was wondering if it should be possible also to play wma streams
Pmusic supports whatever ffmpeg supports, and at the moment it does NOT support wma-streams.
WMA streams are called ASF.
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
I've been using mmsrip for downloading things served via MMS, but ffmpeg should support it (though you might want to look at this...).

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
(you right-click and select New->String etc.)
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

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

pmusic -c fails at the first time

#1178 Post by shinobar »

zigbert wrote:I made a check here, and run 'pmusic -c' - everything works as expected.
I am on lupu-528JP(developping). Re-installed your pmusic 2.6.1.pet.
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)
The cdda2wav command in terminal is everything ok. But it seems killed at early stage in the above case.
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
Seems running double 'func_cd -read_cd'. And runnung 'func_player -playing -next' at this stage is also questionable.
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]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Who kills cdda2wav?

#1179 Post by shinobar »

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]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

save cdda2wav

#1180 Post by shinobar »

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:
func_cd at line 28 wrote: while [ ! "$BREAK" ]; do sleep 1
2. Failsafe for SS:
func_player at line 130 wrote: SS=($(<"$WORKDIR/SS")) || SS=0
Works as expected for the first run of the 'pmusic -c'.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

Post Reply