smok3
14th October 2010, 08:45
some questions regarding playback from the intranet web server;
a. - where is cache/buffer and how can i preserve it? (in case server drops down) - i'd like to preserve entire files really (or should i bite the rsync stuff)
b. - how can i make it skip playing files in playlist that are no longer on location instead of erroring out?
c. - would it be possible to refill playlist without player exiting and leaving fullscreen mode (i'am writing a bat script)
this is what i have so far;
:loop
del playlist.m3u
wget http://server/play/playlist.php
rename playlist.php playlist.m3u
:: mpc must be set to loop only once or twice
mpc\mpc-hc.exe playlist.m3u /play /fullscreen /close
goto loop
where playlist.php is a php script that generates filelist.
and some wishes:
could we have the ability to define logo path as relative, like LogoFile=mpc\logo.png
a. - where is cache/buffer and how can i preserve it? (in case server drops down) - i'd like to preserve entire files really (or should i bite the rsync stuff)
b. - how can i make it skip playing files in playlist that are no longer on location instead of erroring out?
c. - would it be possible to refill playlist without player exiting and leaving fullscreen mode (i'am writing a bat script)
this is what i have so far;
:loop
del playlist.m3u
wget http://server/play/playlist.php
rename playlist.php playlist.m3u
:: mpc must be set to loop only once or twice
mpc\mpc-hc.exe playlist.m3u /play /fullscreen /close
goto loop
where playlist.php is a php script that generates filelist.
and some wishes:
could we have the ability to define logo path as relative, like LogoFile=mpc\logo.png