Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 26 Nov 2014, 17:45
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
pMusic 4.4.6
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 116 of 125 Posts_count   Goto page: Previous 1, 2, 3, ..., 114, 115, 116, 117, 118, ..., 123, 124, 125 Next
Author Message
Billtoo


Joined: 07 Apr 2009
Posts: 2156
Location: Ontario Canada

PostPosted: Sun 04 Aug 2013, 10:44    Post_subject:  

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.
pmusic.jpg
 Description   
 Filesize   40.32 KB
 Viewed   502 Time(s)

pmusic.jpg

Back to top
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5788
Location: Valåmoen, Norway

PostPosted: Sun 04 Aug 2013, 12:17    Post_subject:  

Billtoo
Are you able to find the actual running process?

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
Billtoo


Joined: 07 Apr 2009
Posts: 2156
Location: Ontario Canada

PostPosted: Sun 04 Aug 2013, 12:31    Post_subject:  

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.
pmusicon.jpg
 Description   
 Filesize   41.25 KB
 Viewed   476 Time(s)

pmusicon.jpg

pmusicoff.jpg
 Description   
 Filesize   94.67 KB
 Viewed   455 Time(s)

pmusicoff.jpg

Back to top
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5788
Location: Valåmoen, Norway

PostPosted: Sun 04 Aug 2013, 13:15    Post_subject:  

Billtoo
I am in Slacko 5.4, and streamripper closes after pMusic exit for spot.
What permissions are set for streamripper?
Code:
ls -l "$(which streamripper)"



Sigmund

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
Billtoo


Joined: 07 Apr 2009
Posts: 2156
Location: Ontario Canada

PostPosted: Sun 04 Aug 2013, 13:18    Post_subject:  

zigbert wrote:
Billtoo
I am in Slacko 5.4, and streamripper closes after pMusic exit for spot.
What permissions are set for streamripper?
Code:
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
#
Back to top
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5788
Location: Valåmoen, Norway

PostPosted: Sun 04 Aug 2013, 13:22    Post_subject:  

Billtoo
permissions looks good...

The exact code that kills streamripper when closing pMusic is

Code:
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

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
Billtoo


Joined: 07 Apr 2009
Posts: 2156
Location: Ontario Canada

PostPosted: Sun 04 Aug 2013, 13:59    Post_subject:  

zigbert wrote:
Billtoo
permissions looks good...

The exact code that kills streamripper when closing pMusic is

Code:
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 Smile
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.
cmus.jpg
 Description   
 Filesize   33.22 KB
 Viewed   416 Time(s)

cmus.jpg

Back to top
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5788
Location: Valåmoen, Norway

PostPosted: Wed 07 Aug 2013, 04:59    Post_subject:  

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.

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
mt0ne

Joined: 26 Jun 2013
Posts: 15

PostPosted: Thu 08 Aug 2013, 16:32    Post_subject: Broken pmusic gui  

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...
Back to top
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5788
Location: Valåmoen, Norway

PostPosted: Thu 08 Aug 2013, 17:40    Post_subject:  

mt0ne
Please post the terminal output when you run
Code:
pmusic --debug
and
Code:
pmusic -D



Sigmund

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
pemasu


Joined: 08 Jul 2009
Posts: 5465
Location: Finland

PostPosted: Fri 09 Aug 2013, 17:56    Post_subject:  

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

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

http://i.imgur.com/aYzPMVB.jpg
Back to top
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5788
Location: Valåmoen, Norway

PostPosted: Sat 10 Aug 2013, 06:23    Post_subject:  

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

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
pemasu


Joined: 08 Jul 2009
Posts: 5465
Location: Finland

PostPosted: Sat 10 Aug 2013, 06:36    Post_subject:  

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.

Edited_time_total
Back to top
View user's profile Send_private_message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Sat 10 Aug 2013, 06:42    Post_subject:  

Better post my Slackware64-14.0 pic too then .. Razz




Full Size

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

EDIT: installed NADS to fix that!

_________________
Woof Mailing List | keep the faith Cool |

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
simargl

Joined: 11 Feb 2013
Posts: 572

PostPosted: Sat 10 Aug 2013, 06:51    Post_subject:  

.
_________________
The Arch Way

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 116 of 125 Posts_count   Goto page: Previous 1, 2, 3, ..., 114, 115, 116, 117, 118, ..., 123, 124, 125 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1122s ][ Queries: 12 (0.0267s) ][ GZIP on ]