2008-06-29, 09:05
I thought this would of been pretty common. I have a bunch of tv episodes ripped to a server. I play them fine in XBMC over SMB.
What i would like is a python script to play a random file from a network (SMB) share - I just specify the folder (inside the python script itself would be fine).
I've searched and searched but no luck - is this something that should be easy to knock up?
I'd like to be able to have multiple scripts and launch them from the favorite scripts menu on the main screen down the bottom right. So i could say play a random episode of Futurama, or a random episode of the Simpsons etc...
What i would like is a python script to play a random file from a network (SMB) share - I just specify the folder (inside the python script itself would be fine).
I've searched and searched but no luck - is this something that should be easy to knock up?
I'd like to be able to have multiple scripts and launch them from the favorite scripts menu on the main screen down the bottom right. So i could say play a random episode of Futurama, or a random episode of the Simpsons etc...