Ticket #3691: mythtv_cmdline_dvdplay.diff
File mythtv_cmdline_dvdplay.diff, 659 bytes (added by , 17 years ago) |
---|
-
programs/mythtv/main.cpp
* Allows playing DVDs from command line with 'mythtv' again using the dvd://${path_to_dvd_dir} syntax.
old new 284 284 pginfo->isVideo = true; 285 285 286 286 // RingBuffer doesn't like relative pathnames 287 if (filename.left(1) != "/" )287 if (filename.left(1) != "/" && !filename.startsWith("dvd://")) 288 288 pginfo->pathname.prepend(QDir::currentDirPath() + '/'); 289 289 } 290 290