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 Sat 20 Dec 2014, 02:44
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
pCD 1.5 - CD-audio player
Post new topic   Reply to topic View previous topic :: View next topic
Page 10 of 13 [194 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11, 12, 13 Next
Author Message
Sylvander

Joined: 15 Dec 2008
Posts: 3551
Location: West Lothian, Scotland, UK

PostPosted: Sat 04 Jul 2009, 12:45    Post subject:  

Finally got around to installing version 0.9 in BoxPup 4.1.3, and it seems to be working perfectly.
It auto-plays.
The 1st track plays, then onto the 2nd track etc. Very Happy
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Sat 11 Jul 2009, 09:42    Post subject:  

Hello Sigmund Smile

Ok, this may surprise many of you, but I can run pCD on a 80486dx 50MHz with 32MB of ram. Almost perfectly in Barry's 218 (full install, with 128MB swap) revamp of the Puppy 2 series.

When I say "almost", there is some stutter, but it is minimal... if it were playing in front of a bunch of partygoers, no one would notice. Cool

I tested 2 cds so far... that 'Misdirection' one (I'll mail that one to you if you want Sigmund... it's not quite heavy metal but is definitely hard rock, Australian flavoured, Twisted Evil ) which has text on the cd and it works fine... tested 'skip' and highlighting a track... slow... but! 486? Laughing . Now, here is another interesting part, I quit the "Misdirection, Cast No Shadows" cd and pressed 'eject'... fine..ok... loaded "Nirvana, Nevermind" and clicked 'read cd', without closing.... (thought... 'doomed to fail'...) and it worked perfectly! Up came the track list. Played automagically. With even less stutter!

Originally, I thought I'd be amazed to even see a track list. But now I am just happy! My 486 is not a useless pile of proverbial!

This pales in comparison to my tests on the 'Dino'... Laughing

Thanks!

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Sat 11 Jul 2009, 11:21    Post subject:  

For what it's worth I loaded a third CD, 'Judas Priest, RockaRola' ...(Gull remaster version)... on the old piece of junk and pCD continued on and played the disc, but the gui stopped after the third track. When it did stop (the gui) the CD played to the end with no stutter at all. However the gui did seem hung at track 3.

I dunno if this is any help, but it can't be too much harm Smile

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
zigbert


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

PostPosted: Sun 12 Jul 2009, 04:01    Post subject:  

Mick
I think it's great that it (partly) worked on your dino. If the gui hangs on your main system too, I would continue the bug-search.....


Thanks for reporting
Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Sat 18 Jul 2009, 00:50    Post subject:  

Sigmund

I've done some hacking of pCD to use for my pre-dino... the 486.

I cut the gui right down to just the buttons, no splash screens, and just a refresh button for when a new cd is inserted, does the same thing as "read cd".

There are no tracks listed or anything, it just plays the cd, this is just something I did for myself for really low spec gear... erm, puppy shouldn't even run on a 486 with 32meg of ram! It does seem to work better on the "ol' hunk of junk"... perhaps a lower gtk overhead. Cool

All your code in the 'func' file is largely unchanged... I'm just experimenting with what I can take out safely. Smile

With your permission I would like to post it as a .pet, some people may find it useful.

I call it "pcdlite"

Mick
pcdlite.jpg
 Description   
 Filesize   13.33 KB
 Viewed   1072 Time(s)

pcdlite.jpg


_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
zigbert


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

PostPosted: Sat 18 Jul 2009, 03:39    Post subject:  

Mick
Of course you should share it. That is the way open source survives.


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Sat 18 Jul 2009, 04:05    Post subject:  

http://www.murga-linux.com/puppy/viewtopic.php?p=324758#324758

That's it! It has been running fine for a few hours on the ol' bitch!

Cheers

Mick

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
Kenny-M


Joined: 15 May 2009
Posts: 147
Location: United States

PostPosted: Thu 23 Jul 2009, 15:02    Post subject:  

What happens to:

while [ $NR != $TOTAL_NR ]; do

If the variables NR or TOTAL_NR do not exist? Wouldn't
the while fail?

Maybe the following would help:

while [ "${NR}" != "${TOTAL_NR}" ]; do
Back to top
View user's profile Send private message 
zigbert


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

PostPosted: Fri 24 Jul 2009, 04:25    Post subject:  

Kenny-M
You're right about that while-loop will fail if NR or TOTAL_NR doesn't exist.

Have you experienced any errors? I can't see the reason why these variables shouldn't contain any value.


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Kenny-M


Joined: 15 May 2009
Posts: 147
Location: United States

PostPosted: Fri 24 Jul 2009, 13:49    Post subject:  

Zigbert,

I thought I was replying to a question. However that question no longer appears to be in this thread? Hum?

Anyway it's an old school thing. A rule I learned many years ago under Unix. If the variable isn't defined the script gets confused and the field basically becomes a blank.

Another old trick was to force something to be there like:

if [ "X${var}" = "Xtestword" ] then

If var is blank or not defined X would still be there at the beginning. However the match string would also require X as in Xtestword.

Thanks.
Back to top
View user's profile Send private message 
Kenny-M


Joined: 15 May 2009
Posts: 147
Location: United States

PostPosted: Fri 24 Jul 2009, 14:56    Post subject:  

01miko,

The install of pcdlite works OK.

When trying to run pcdlite the screen fills with messages about file
/root/.pcdlite/tmp/pcd-cddb missing.

After looking in the folder I copied pcdlite-cddb to pcd-cddb
then the program started however as the tracks were clicked
through there was no audio.

Also, why does pcdlite try and connect to the internet?? Is this
necessary?

Thanks
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Thu 30 Jul 2009, 17:13    Post subject:  

Hello Kenny-M

Hmmm,

Funny that pcd-cddb thing you mention, I must have missed it, however I have it working on my really old box as mentioned.

I was experimenting with what I could take out of pCD to get it to run on that old thing. The problem seemed to be gtk slowing things down so I only removed what was necessary to get it to run without stutter. The code is entirely based on pCD and I haven't really spent much time on getting it chopped down further. Of course, with no tracks displaying, there is no need for internet stuff. However I may make use of it. The tmp files generated are needed anyway and the code accessing the net is minimal.

Thanks for your interest and if you have any suggestions post in that thread. Much appreciated. I am far from great with bash! Laughing

Cheers Smile

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
zigbert


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

PostPosted: Mon 03 Aug 2009, 04:24    Post subject:  

Version 1.0
See main post

changelog
- Language support
- Tooltips support
- Bugfix: startup with no valid disc inserted froze X in Puppy 4.3

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Mon 03 Aug 2009, 04:47    Post subject:  

Sigmund

A bug. ">>>>>pCD<<<<<<" (a marker?) is not getting echoed to ~/.pcd/tmp/pcd-playing. However the next line echo 100 >> $WORKDIR/pcd-playing is showing up. Consequently there is a problem showing the song which is playing. This seems very strange. I don't know if this is the problem but the progress bar displays incorrectly when you switch tracks, say you get sick of track 1 and play track 5. Is it the call in /usr/local/pcd ?

Everything else seems fine, nice tooltips Cool

Cheers

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
Kenny-M


Joined: 15 May 2009
Posts: 147
Location: United States

PostPosted: Mon 03 Aug 2009, 06:43    Post subject:  

I have removed pcdlite because of the previouly reported bug and as I have received no feedback as to why it is trying to access the internet.

Is this necessary? Is this snoopware?

Thanks.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 10 of 13 [194 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11, 12, 13 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:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0988s ][ Queries: 13 (0.0273s) ][ GZIP on ]