- Package:
- src:libdvdnav
- Source:
- libdvdnav
- Submitter:
- Paul Wise
- Date:
- 2015-01-03 07:09:10 UTC
- Severity:
- minor
When I open directories in vlc I get this warning on stdout all the time. libdvdnav is a library, it should pass errors back to the application using return values, not dump crap to stdout. libdvdnav: Using dvdnav version 4.1.2 from http://dvd.sf.net libdvdnav: Can't read name block. Probably not a DVD-ROM device. libdvdnav: Unable to find map file '/home/pabs/.dvdnav/.map' libdvdnav: vm: failed to read VIDEO_TS.IFO
I've checked for this and it is still happening (but at first I didn't
understand what the bug meant).
To reproduce, don't use Media --> Open Directory... to open a DVD Rip
directory (ad I understood at first), but the playlist mode (View ->
Playlist if it is not already visible) and click on e.g. My Music
or any other non-DVD directory on the left bar.
This also applies to libdvdread, which gives a similar error:
libdvdnav: Using dvdnav version 5.0.1
libdvdread: Couldn't find device name.
libdvdread:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdread:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.IFO.
libdvdnav: vm: failed to read VIDEO_TS.IFO
Version: 5.0.1-1 It's bern tested that this bug doesn't afflict libdvdnav anymore in versions actually in testing, unstable and experimental. So, closing. Cheers.
The testing done and source code search was inadequate, the issue is still definitely still present in the latest code: https://sources.debian.net/src/libdvdnav/5.0.1-1/src/vm/vm.c#L369 https://codesearch.debian.net/search?q=fprintf+package:libdvdnav pabs@chianamo ~ $ rm -rf foo ; mkdir foo ; vlc foo VLC media player 2.2.0-rc2 Weatherwax (revision 2.2.0-rc1-118-g22fda39) [0000000001b59968] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. libdvdnav: Using dvdnav version 5.0.1 libdvdread: Encrypted DVD support unavailable. ************************************************ ** ** ** No css library available. See ** ** /usr/share/doc/libdvdread4/README.css ** ** for more information. ** ** ** ************************************************ libdvdread: Couldn't find device name. libdvdread:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed libdvdread:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed libdvdread: Can't open file VIDEO_TS.IFO. libdvdnav: vm: failed to read VIDEO_TS.IFO [0000000001b6d908] core playlist: stopping playback
Hi! Use 'cvlc' to use vlc without interface. Yes, it's known. The bug report has been reopened, indeed. I'll keep in touch with upstream to fix this asap. Cheers.