This is a suggestion for a patch which I find usefull. It makes it possible to play images of DVD's as a dvd-device.
This is possible by adding something like this in videoitem.py:
mplayer_options += ' dvd://1 -dvd-device %s' % self.filename
self.filename = ''
self.mode = 'dvd'
to the files which this apply. Since I don't know any way to detect if the files are DVD images, I just added
'img', and 'iso' to video suffixes, and searched for these in videoitem.py.
The attached patch I made is simple, and will possibly break things. Things I discovered is:
- after mplayer exit, the item is seen as a directory
But that's ok with me :)
If anyone knows how patch this correctly, at least I would appreciate it.
Best regards Viggo Fredriksen
patch_videoitem.py.tar.gz
Description: GNU Zip compressed data