pCD 1.5 - CD-audio player
Hello Sigmund
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.
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, ) which has text on the cd and it works fine... tested 'skip' and highlighting a track... slow... but! 486? . 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'...
Thanks!
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.
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, ) which has text on the cd and it works fine... tested 'skip' and highlighting a track... slow... but! 486? . 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'...
Thanks!
Puppy Linux Blog - contact me for access
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
I dunno if this is any help, but it can't be too much harm
Puppy Linux Blog - contact me for access
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.
All your code in the 'func' file is largely unchanged... I'm just experimenting with what I can take out safely.
With your permission I would like to post it as a .pet, some people may find it useful.
I call it "pcdlite"
Mick
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.
All your code in the 'func' file is largely unchanged... I'm just experimenting with what I can take out safely.
With your permission I would like to post it as a .pet, some people may find it useful.
I call it "pcdlite"
Mick
- Attachments
-
- pcdlite.jpg
- (13.33 KiB) Downloaded 1094 times
Puppy Linux Blog - contact me for access
http://www.murga-linux.com/puppy/viewto ... 758#324758
That's it! It has been running fine for a few hours on the ol' bitch!
Cheers
Mick
That's it! It has been running fine for a few hours on the ol' bitch!
Cheers
Mick
Puppy Linux Blog - contact me for access
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.
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.
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
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
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!
Cheers
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!
Cheers
Puppy Linux Blog - contact me for access
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
Cheers
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
Cheers
Puppy Linux Blog - contact me for access
Er, this isn't really the thread for pcdlite. If you downloaded it you will find it again . There is a new version, thanks to your post, take a look.Kenny-M wrote: Is this snoopware?
Thanks.
Ah what the hay, I'll make it easy for you...pcdlite thread
Cheers
Puppy Linux Blog - contact me for access
Testing now, and Black Sabbaths songs show up in the progressbar here, can you be more specific???????????01micko wrote: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 ?
Sigmund
It occurs when you highlight a track and play it. If you leave it alone it is ok.
Puppy Linux Blog - contact me for access