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

pMusic 4.1.0

#1721 Post by Billtoo »

Hi zigbert,
In the new Precise 5.7.1 if you edit the .spot-status file to make
pMusic run under user spot there is a problem when you go to shut pMusic
down, it won't.
Restarting x will quit pMusic but the lights on the modem are still
blinking like crazy so the stream is still downloading, need to reboot
to stop it.

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

#1722 Post by zigbert »

Billtoo
Precise is using a very old version (2.6.7) of pMusic. I don't know why Barry finds this as a proper solution. Much has been improved in generation 3 and 4 of pMusic.

Please install the latest pMusic and report back if the bug is still there. I don't want to spend time fixing an outdated player.

Also, I haven't tried running as spot, so it would be great if you could explain in detail how I can reproduce the bug.


Thank you
Sigmund

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

#1723 Post by Billtoo »

zigbert wrote:Billtoo
Precise is using a very old version (2.6.7) of pMusic. I don't know why Barry finds this as a proper solution. Much has been improved in generation 3 and 4 of pMusic.

Please install the latest pMusic and report back if the bug is still there. I don't want to spend time fixing an outdated player.

Also, I haven't tried running as spot, so it would be great if you could explain in detail how I can reproduce the bug.


Thank you
Sigmund
I updated to the latest pMusic and the problem is still there, pMusic
will shutdown now but the modem lights are flashing so the stream is
still downloading.

To run pMusic under user spot you need to load and edit the
.spot-status file which is a hidden file in the root directory.
Add pmusic=false and then save the file,open the terminal and run loginmanager,
that's it.
Attachments
screenshot.jpg
(29.04 KiB) Downloaded 384 times

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

#1724 Post by zigbert »

Billtoo
Thank you
Will look into it


Sigmund

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

#1725 Post by zigbert »

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

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.

Post Reply