[mythtv] mythmusic caching mp3 files

Ed Wildgoose lists at wildgooses.com
Fri Oct 8 07:33:28 UTC 2004


Fa Yoeu wrote:

>I have a weird problem that when I try to play mp3 from my nfs mounted
>directory through mythmusic, it causes the access point (netgear
>802.11g) to crash.  I have to powercycle the AP to get it working
>again.  I am suspecting that it is because of incompatibilities
>between different brands of 802.11g, but I am not sure yet.  Also many
>times the music cuts and skips because of other traffic.  So I wanted
>to hack mythmusic cache entire files before playback, doing the
>following, copy mp3 file from the nfs directory to a local directory
>before starting to play the file.  Anyone  have any suggestions before
>I begin hacking?
>  
>

What about trying to make the OS do more of the work?  I think you can 
set readahead hints for open calls?  Also, you could use a different 
filesystem which auto caches (afs?)

Perhaps also profile the data requests and make sure that we aren't 
doing something stupid here when requesting the data?


More information about the mythtv-dev mailing list