pCD 1.5 - CD-audio player

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#141 Post by zigbert »

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


Sigmund

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

#142 Post by 01micko »

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
Puppy Linux Blog - contact me for access

Kenny-M

#143 Post by Kenny-M »

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

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

#144 Post by zigbert »

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

Kenny-M

#145 Post by Kenny-M »

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.

Kenny-M

#146 Post by Kenny-M »

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

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

#147 Post by 01micko »

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! :lol:

Cheers :)
Puppy Linux Blog - contact me for access

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

#148 Post by zigbert »

Version 1.0
See main post

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

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

#149 Post by 01micko »

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 8)

Cheers
Puppy Linux Blog - contact me for access

Kenny-M

#150 Post by Kenny-M »

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.

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

#151 Post by 01micko »

Kenny-M wrote: Is this snoopware?

Thanks.
:lol: Er, this isn't really the thread for pcdlite. If you downloaded it you will find it again :D . There is a new version, thanks to your post, take a look.

Ah what the hay, I'll make it easy for you...pcdlite thread

Cheers
Puppy Linux Blog - contact me for access

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

#152 Post by zigbert »

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 ?
Testing now, and Black Sabbaths songs show up in the progressbar here, can you be more specific???????????


Sigmund

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

#153 Post by 01micko »

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

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

#154 Post by zigbert »

Mick, what Puppy are you running?

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

#155 Post by 01micko »

ppa-422, on fastish box, athlon 2100+
Puppy Linux Blog - contact me for access

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

#156 Post by 01micko »

Sigmund

I just did a test with pCD-0.8 on the same system and it all works as expected, at first, but if you switch around different tracks too much it gets stuck. Is it timing, waiting for the call to the pids? I didn't test 0.9 much because I was playing with my old box. I imagine 0.9 was similar. Just to clarify, I initially discovered this behaviour in pCD-1.0.

My other query... Is the echo ">>>>>>>>pCd<<<<<<<<" > $WORKDIR/pcd-playing line even needed now? We are autoplaying the first track, so it never gets seen.

******

Ok, Just tested in 4.2.1 and it works fine, I can't reproduce the bug. Same box.

Cheers

Mick
Puppy Linux Blog - contact me for access

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

#157 Post by zigbert »

Let's keep an eye on this......

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

#158 Post by 01micko »

Ok, ... seems ok in Slaxer_pup too, k2.6.27.7. Only in ppa-422.
Puppy Linux Blog - contact me for access

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

#159 Post by 01micko »

Sigmund,

New testing here...

On old p3 600 box, pcd-1.0

1) Testing with 421 (k2.6.15.16) frugal install, has been for awhile. If I play the cd and then select another random track to play the correct track displays in the progress bar. :D

2) Testing with pps-422 (k2.6.15.16) "puppy pfix=ram". If I play the cd and then select another random track to play the correct track displays in the progress bar. :D

3) Testing with ppa-422 (k2.6.9.6) "puppy pfix=ram". If I play the cd and then select another random track to play the first track that played persists to be displayed in the progress bar. :cry:

kernel specific???? (two separate boxes...)

Hope this helps. There seem no clues running from terminal.

Cheers,

Mick
Puppy Linux Blog - contact me for access

alex12
Posts: 82
Joined: Fri 30 Jan 2009, 03:33

#160 Post by alex12 »

Congrats onto getting pcd into 4.3 beta.

Post Reply