#78 Psuedo file for random media playback

open
nobody
None
5
2012-12-09
2012-12-09
Anonymous
No

I would like to see the posibiltiy to add a 'pseudo' file to the minidlna database, which when a DLNA client requests playback from, instead streams any random media file, perhaps within that directory or within that and any other sibling directory (on the same level in the tree).

Think if you had for example:

/Family Guy/Season (1)
/Family Guy/Season (2)
/Family Guy/Random.ext

Selecting Random.ext in your client would make the client think it was playing back 'Random.ext', but actually minidlna serves up a random file from within the two directories Season (1) and Season (2), essentially providing you with a random episode to watch.

I expect this should be trivial to accomplish for a seasoned C developer, but thought must be put into how to keep this looking clean and making a neat implementation.

Discussion