pMusic 6.0.0

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

#1726 Post by Billtoo »

zigbert wrote:Billtoo
Would you please help me by testing the following?

Add a new line at the very end of /usr/local/pmusic/pmusic
exit 0

Does this help out? - it improves process handling for me both for root and spot


Thank you
Sigmund
I added to the pmusic file but it hasn't helped, I quit pmusic about 5 minutes ago and the modem lights are still blinking, downloading the radio stream.

EDIT:I switched back to running as root and it quits as it should, won't quit properly running as spot though and I thought running as spot would be a more secure method for programs that access the internet.
Attachments
pmusic.jpg
(40.32 KiB) Downloaded 573 times

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

#1727 Post by zigbert »

Billtoo
Are you able to find the actual running process?

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

#1728 Post by Billtoo »

zigbert wrote:Billtoo
Are you able to find the actual running process?
I just switched back to user spot and tried again, the process that keeps running after quitting pMusic is streamripper.
Attachments
pmusicon.jpg
(41.25 KiB) Downloaded 549 times
pmusicoff.jpg
(94.67 KiB) Downloaded 529 times

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

#1729 Post by zigbert »

Billtoo
I am in Slacko 5.4, and streamripper closes after pMusic exit for spot.
What permissions are set for streamripper?

Code: Select all

ls -l "$(which streamripper)"

Sigmund

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

#1730 Post by Billtoo »

zigbert wrote:Billtoo
I am in Slacko 5.4, and streamripper closes after pMusic exit for spot.
What permissions are set for streamripper?

Code: Select all

ls -l "$(which streamripper)"
Sigmund
I don't have pMusic running atm but I entered the code in the terminal:

# ls -l "$(which streamripper)"
-rwxr-xr-x 1 root root 117316 Aug 2 10:32 /usr/bin/streamripper
#

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

#1731 Post by zigbert »

Billtoo
permissions looks good...

The exact code that kills streamripper when closing pMusic is

Code: Select all

for I in `grep -F "streamripper" <<< "$(ps -eo pid,command)" | grep -F "A -k 0 -u WinampMPEG/5.0 -r 8002" | awk '{print $1}'`; do kill -9 $I; done
It would be great to see what terminal output that gives


Sigmund

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

#1732 Post by Billtoo »

zigbert wrote:Billtoo
permissions looks good...

The exact code that kills streamripper when closing pMusic is

Code: Select all

for I in `grep -F "streamripper" <<< "$(ps -eo pid,command)" | grep -F "A -k 0 -u WinampMPEG/5.0 -r 8002" | awk '{print $1}'`; do kill -9 $I; done
It would be great to see what terminal output that gives


Sigmund
After you showed the first code about streamripper permissions I tried
changing permissions of streamripper, then tried running pMusic but it
would just flash on and off.
I opened ppm and removed the pmusic-4.1.0.pet
The old version of Pmusic had the old problems so I reinstalled the
new version and it's working fine now, quits properly (streamripper
too).
I had the same problem on two other computers so it's real, I think
you'll need to be in precise 5.7.1 to reproduce the problem.
It's working now so I'm quitting while I'm ahead and going to watch
golf on tv for a while :)
Thanks

EDIT: damn, it's running with user root not spot so I think the problem is still there, will look again later.


EDIT: the problem was still there when running as spot. I've given up, hopefully Precise will have the latest pMusic at some point and I'll give it a try then but for now I'm using a small program for streaming radio stations, cmus.

EDIT: I think with 01micko's help we found a solution, removed pMusic from the
.spot-status file and put streamripper and ffmpeg in it's place.
It's working well in the older 2.6.7 version in precise and the new version in slacko.
Attachments
cmus.jpg
(33.22 KiB) Downloaded 495 times

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

#1733 Post by zigbert »

Version 4.1.1
See main post

Changelog
- Faster build of menu_sourcelist.
- Plugin: show play-engine command and output.
- Adjusted fontsize to fit 96 dpi.
- Removed /usr/local/pmusic/blank.png.
- Added copyright info in about-window.
- Removed some unused variables in pmusicrc.
- Nad5: insensitive checkboxes and adjusted fontsize.
- Bugfix: Top-Hits fails to run twice.
- Bugfix: Exit pMusic properly. (thanks to Billtoo)
- Bugfix: Menu_sourcelist: 'Show location' also for files.

mt0ne
Posts: 15
Joined: Wed 26 Jun 2013, 19:00

Broken pmusic gui

#1734 Post by mt0ne »

So I've lost my gui for pmusic, it plays files but I must have hit a hotkey or something because the window doens't exist on any desktop even after reboot...
is there a hotkey to bring back gui? I've even tried upgrading to the newest pmusic player but this setting is somewhere saved...

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

#1735 Post by zigbert »

mt0ne
Please post the terminal output when you run

Code: Select all

pmusic --debug
and

Code: Select all

pmusic -D

Sigmund

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#1736 Post by pemasu »

First test done. Streams wirelessly to my stereos through Apple Airport Express.....in Lubuntu 64 bit OS :D

All the functions are not quite there, but well...works good enough.

http://i.imgur.com/aYzPMVB.jpg

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

#1737 Post by zigbert »

pemasu
What great pic!

I see that gtkdialog isn't up to date.

If there are functions you'll like me to look at, please share.


Sigmund

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#1738 Post by pemasu »

I compiled gtkdialog from source in Lubuntu. I downloaded latest svn. So...it should be up to date:

$ gtkdialog --version
gtkdialog version 0.8.4 r514M (C) 2003-2007 Laszlo Pere, 2011-2012 Thunor
Built with support for: GTK+ 2.

I have had full linux distro installation last time about year 2000. If you dont count Puppy Linux distros I mean. I am absolute novice with all this sudo - gksudo - permissions jungle. Root for ever you know... You really dont have right to mess and break your OS with your will. So...I dont know yet how much of the problems comes due to not enough permissions. I will ask you spesific questions...when I have launched pmusic --debug enough times and if and when I found something which would need some hack.

Busybox was missing. I noticed your scripts asked usleep. So...I downloaded busybox and symlinked /bin/usleep into busybox. There might be some other needed binaries or busybox symlinks still missing.

Anyway...I use Pmusic mostly for net radio streams. Installing ffmpeg ( ubuntu somekind version ) I can now stream to the stereos as I have wanted. So I am happy.
Last edited by pemasu on Sat 10 Aug 2013, 10:43, edited 1 time in total.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#1739 Post by 01micko »

Better post my Slackware64-14.0 pic too then .. :P


Image

Full Size

..yeah, Slackware isn't big on gtk themes! (KDE running)

EDIT: installed NADS to fix that!
Last edited by 01micko on Sat 10 Aug 2013, 11:30, edited 1 time in total.
Puppy Linux Blog - contact me for access

simargl

#1740 Post by simargl »

.
Last edited by simargl on Sun 01 Sep 2013, 15:30, edited 1 time in total.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#1741 Post by pemasu »

Simargl. Could you open Deadbeef how to thread. I would like to know how you download with Deadbeef net radio streams database of thousands of net radios like Pmusic does. And how do you get Deadbeef to show those thousands of net radio stations organized by genre or country ?

It is not always question of absolute speed. It is also question of the improved functionality.

I know that your post was meant to provoke posts....semi-trolling.
Deadbeef is fast for what it does and it is good for what it does. But...that is not the point. Pmusic does something which most of the music apps does not.
Clementine comes closest for what I want from the music app. But even it does not do it the way I want it to do it. Pmusic does. Hmm...the size comparing. I think Pmusic is slightly smaller than Clementine....

Anyway....discussion of Deadbeef and power usage features is definitively worth of separate thread. Waiting for it....

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

#1742 Post by zigbert »

pemasu wrote:I noticed your scripts asked usleep. So...I downloaded busybox and symlinked /bin/usleep into busybox. There might be some other needed binaries or busybox symlinks still missing.
Thank you, I will get rid of those. I don't want to depend on busybox!!!!!


Sigmund

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

#1743 Post by zigbert »

simargl wrote:Plus it can be combined with its infobar plugin so you get artist and song info, lyrics etc.
Awesome

DemostiX
Posts: 46
Joined: Fri 24 Apr 2009, 15:17

Ogg codec settings in PMusic 4.1.1

#1744 Post by DemostiX »

1. With Slacko 5.5 and 5.6, at least, the bitrate settings, at least above 124kb, are ignored when I encode with ogg , and the resultant files seem instead to be about the size of flac-encoded ones, roughly half the original size.

2. It is not clear that the "presets" on the left of the "Convert" page specify particular codecs. Which is OK, just not this user's expectation. But, that is NOT the cause of being unable to specify a bitrate for ogg encoding.

3. Once a Preset is chosen, it seems not possible to clear the selection except by going back to the previous screen. Unchecking the "Convert exported tracks" check box results in the whiting out of the selection.

From http://trac.ffmpeg.org/wiki/TheoraVorbisEncodingGuide I find:

Variable Bitrate (VBR)
ffmpeg -i input.mkv -codec:v libtheora -qscale:v 7 -codec:a libvorbis -qscale:a 5 output.ogv

<snip>


Note: if you omit -codec:a libvorbis then ffmpeg will default to the native FFmpeg flac audio encoder for ogg/ogv output container.

So, maybe the last "Note:" above is the explanation for the failure.

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

#1745 Post by zigbert »

DemostiX
3. Once a Preset is chosen, it seems not possible to clear the selection except by going back to the previous screen. Unchecking the "Convert exported tracks" check box results in the whiting out of the selection.
The preset is just meant as guides for the user. It should be possible to set your own settings. Any manual setting will override the preset.

At the moment, pMusic is not supporting encoding into variable bitrate.

The ogg/flac issue seems related to ffmpeg - not pMusic. (Or am I misunderstanding?)


Thank you for the feedback
Sigmund

Post Reply