I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods

Click Here!
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / Other I-Appliances / 3Com Audrey
PhJuke 1.0beta3 released
Music for the new year!

New MessagePhJuke 1.0beta3 released (modified 0 times) koreth
Profile
Here's a late Christmas present for everyone: I've just released version 1.0beta3 of my PhJuke jukebox application. Get it here. A bunch of changes in this version; see the site for the full list, but some highlights:

  • Revised the UI to look more Audrey-like.
  • You can save playlists now.
  • Loading large playlists is faster.

    As always, please post bug reports or other comments. Enjoy!

  • 12-29-2001 19:08:23

    New MessageRE:PhJuke 1.0beta3 released (modified 0 times) bholio
    Profile
    No matter what I try, phjuke skips while playing files over fs-cifs. I'm starting to suspect that my Win98 machine which holds the mp3 files is not responsive enough as a file server. I've even tried using windows nfs server software and fs-nfs2 which was slightly better, but the mp3 playback was not nearly as smooth as on a friends system which uses an nfs server on Linux. Is anyone successful plaing mp3 with phjuke when the files reside on a W98 machine? Or all of the successful users running nt/2k/linux? Running madplay from the command line also skips.

    Phplay plays great over http, and actually is not too bad over fs-cifs, but I don't like the tiny interface and phplay dislikes alot of my mp3 files, possibly due to id tags in the mp3 files.

    01-17-2002 21:04:00

    New MessageRE:PhJuke 1.0beta3 released (modified 0 times) dilligaf
    Profile
    I have it playing from a Win98 (1st edition) running on a PIII/500. The network is all switched (no hubs), but has 3 Audreys and 7 PCs (Win and Linux) on it.

    dill

    01-17-2002 21:47:50

    New MessageRE:PhJuke 1.0beta3 released (modified 0 times) bholio
    Profile
    Thanks for the response dilligaf.
    I'm also running on a switched network with 3 Audreys and anywhere from 1 to 4 PCs (windows 98) and barely any network traffic. My P166 and Athlon600 both cause skipping.

    My friend whose system works has Linux on a PPro 180, and a hub. The Linux server is also pretty heavily loaded as a web server, nfs server and NAT router, with the nfs server pretty much in constant use by multiple clients, but via a different network (different NIC & not using the same hub) than the Audrey is on.

    01-18-2002 08:11:15

    New MessageRE:PhJuke 1.0beta3 released (modified 0 times) dilligaf
    Profile
    Wow, I am baffled.

    I am assuming you tried 'slay -P 10 fs-cifs'.

    dill

    01-18-2002 11:27:09

    New MessageRE:PhJuke 1.0beta3 released (modified 0 times) bholio
    Profile
    Yes, I tried that.
    slay -P 10 fs-cifs

    Made things worse. I got better results with slay -P 1 fs-cifs. I really think the problem is on the server side or the network itself. Maybe my cheapo ethernet switch is doing something. I am going to try unplugging it to reset it's cache. Maybe it's taking awhile to figure out where the next packet goes, or constantly trying to figure out to do about the 100BaseT pc and 10BaseT Audrey.

    I already plugged the Audrey and PC directly to the switch, so I've eliminated my do-it-yourself-now-behind-the-walls network wiring/jack termination as the cause (phew!!).

    My next step is to slowly swap components with my friend to eliminate the Audrey and Switch as culprits. Then I'll know if it's my Audrey/3c19250, my switch, or something related to my PC (NIC, windows OS). I hope it't the switch.

    01-18-2002 13:41:06

    New MessageRE:PhJuke 1.0beta3 released (modified 0 times) greenaudrey
    Profile
    I had a very similar problem. My Audrey would skip after it had been turned on for a day or two. I also noted that I could create the skips by first exposing the Audrey to a lot of network traffic (600-1000 MBytes). My network is hubbed, so ripping a CD from a PC on to my server causes the Audrey to see the traffic. Once the Audrey was in "skip mode" I could get it to recover by unplugging the USB cable to the ethernet.

    It turns out that my USB-Ethernet adaptor was to blame I had a 3Com 19250, I replaced it with another borrowed unit, my problem was solved. I am now using a hacked Entrega from
    http://www.factorydirect.ca/cgi-bin/new_display_spec.pl/EN2000: No problems.

    01-18-2002 17:54:31

    New MessageHow often is it skipping? (modified 0 times) csari
    Profile
    I thought I had issues since phjuke seemed to skip occasionally. Not really often, and it recovered pretty quickly. Then I started to notice that there seemed to be a pattern. An every-30-minutes pattern. It was the mail. Phjuke skipped each and every time the audrey tried to check mail.

    Hopefully I'll save someone a bit of time and frustration on this one. I was certainly pulling MY hair out!

    01-18-2002 19:38:10

    New MessagePhjuke and MQNX (modified 0 times) csari
    Profile
    I tried version b03 with MQNX (jukebox's image), and decided b02 was actually better behaved in terms of windowing behavior. (Although I *LIKE* the b03 features!) Any chance of a b04 that runs in a window instead of the current full-screen arrangement? Or even better, a command-line switch to specify which one one wants?

    THANK YOU for Phjuke. Very nice. :) My Hotsync button now launches PhJuke instead.

    01-18-2002 19:41:32

    New MessageRE:PhJuke 1.0beta3 released (modified 0 times) koreth
    Profile
    The full 1.0 version (which will go out later this week if all goes well) should play nicer with shelf. And if its new positioning isn't to your liking you'll be able to use the standard Photon command-line arguments to position and size the window as you see fit.
    01-22-2002 03:19:21

    New MessageRE:PhJuke 1.0beta3 released (modified 0 times) bholio
    Profile
    I'm starting to think my problems have to do with available memory. Maybe madplay does not have enough space to fill enough cache. If I unplug my network, the music stops in about 2 seconds. On my friends (working) machine, it plays for about 10 seconds before stopping. I haven't checked the memory control panel on my machine yet to see if I'm very low or not.

    I've also noticed that on my system, phjuke and madplay run at priority 15 as reported by ps -0 pid,pri,args, while they run at 10 on my machine. We have no idea why his stuff runs at a different priority than mine. Neither of us has done anything that we can remember.

    01-22-2002 10:43:01

    New MessageRE:PhJuke 1.0beta3 released (modified 0 times) koreth
    Profile
    My buffering modifications to madplay don't look at how much memory is available. The buffer size is fixed at compile time (256K, as I recall). I didn't swap-enable madplay, so it'll just fail to work if there isn't enough memory for the buffer.

    No idea why you'd get different amounts of music buffered, assuming you're listening to songs encoded at the same bitrate, of course.

    01-23-2002 00:12:38

    New MessageRE:PhJuke 1.0beta3 released (modified 0 times) bholio
    Profile
    Thanks for information. My problem is definately network related. I've been playing with 2 of my Audreys and one Audrey which is owned by a friend. Sometimes, one of the Audreys play mp3's nearly perfectly and sometimes it does not. The other Audrey always skips.

    I tested how long it takes to copy a 4.2M mp3 from my fs-cifs mounted dir to /dev/null. On the bad Audrey it takes about 100 seconds. On my better Audrey (when things are working well), it takes about 35 seconds. When the better Audrey is playing music without skipping, the orange network light (19c250) is off for 2 seconds, then blinks on once or twice for 1/2 second. If there is any skipping it always occurs while the light is on. If I pull the network plug it plays for 10 seconds.

    On the bad Audrey, the network light is on constantly (slightly flickering, but mostly just ON). Pulling the plug causes the music to stop after 2 seconds. Now both machine are hooked up to the same windows box. Both machines are playing the same mp3 file (not simultanously).

    So, the problem is either in the network adapter itself (as someone else mentioned), ot the bad Audrey is doing something wrong with the network.

    01-24-2002 07:15:56

    New MessageRE:PhJuke 1.0beta3 released (modified 0 times) bholio
    Profile
    Holy crap.

    I solved it. Hopefully this will save someone else hours and days of frustration.

    fs-cifs has a '-v' option for 'verbose'. You can also add a second and (maybe) third '-v' for more and more verbose. Well, I found that '-v' also stands for 'very slow'. Using more than 1 -v slows down throughput thru fs-cifs by a factor of about 3. Using W98's System monitor, I watched the throughput of the Windows server and found it to run at 45KBps when I said -v -v and at 120KBps when I didn't use -v at all. I believe that a single -v also ran quickly, but I could be wrong there.

    By running without -v, I get no skipping during normal play and a little bit of skipping sometimes when using the browser or doing heavy shell stuff. If I start phjuke this this:
    phjuke &
    (wait until it starts)
    slay -P 15 phjuke
    Then it eliminates all skipping no matter what I do, but really slows things down. Sometimes everything stops for awhile if I really beat on it. For some reason 'ps -o pid,pri,cpu,args' really kills it, I think maybe USB or the network gets messed up.

    Other misc stuff I learned while playing with this.
    If fs-cifs was in -verySlow mode, no amout of futzing with slay would have any effect. Madplay simply could not get it's data fast enough.

    If your server has an nfs server, use it. I found that nfs has about 25% better transfer rate (according to 'time cp 4megfile /dev/null').

    Swapping hardware between a 10baseT hub and 10/100 switch had no effect on a lightly-loaded network. No surprise since Audrey is usb and 10BaseT.

    Although the 'cpu' option is not supported by ps, ps -o pid,pri,cpu,args does show you all of the threads of each application and their individual priorities.

    slay -P does not always work. FOr example:
    #phjuke
    CTRL-Z
    #bg
    #slay -P 15 phjuke
    has no effect on the priority according to ps -o pid,pri,args
    Slaying it the way I mentioned above works.

    01-25-2002 20:17:48

    Reply to Thread | Printer |
    All times are PSTPowered by UltraBoard v1.62



    Copyright © 2000, Netmake Inc. All Rights Reserved.
    See Terms and Conditions for more information.




    i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3