Page 1 of 1

VLC 1.9 and 2.0 media scan does not place all media files in media library

Posted: 23 Jun 2016 21:21
by tprotopopescu
I several albums of ogg and flac files on both the internal sdcard and an external one, however both VLC 1.9 (from Fdroid) and 2.0 (from the google playstore) does not put them all in the media library. Some albums simply do not turn up in the media library, others have only a couple of tracks. I can access the files by navigating to the directory, and files play fine when accessed that way. Clearing the media database and refreshing has no effect. Uninstalling and reinstalling has no effect.

Version 0.9 from the google playstore does not have this problem, all media files are in the media library.

Details:
Phone: Lenovo p70-t
Android: 4.4.4
VLC: 2.0.0 and 1.9.0

Anybody else seeing this?

Re: VLC 1.9 and 2.0 media scan does not place all media files in media library

Posted: 28 Jun 2016 12:00
by Jean-Baptiste Kempf
Are they in a special folder?

Re: VLC 1.9 and 2.0 media scan does not place all media files in media library

Posted: 10 Jul 2016 07:42
by bluebrother
I'm facing a similar issue (maybe the same?). After some digging I figured all files that contain a dot (".") in the Title tag don't appear. If I remove the dot they appear (note that I need to clean the media database in vlc to make it detect that change). Also, those files play fine when playing from folder view, and also work fine on other playes (vlc on PC, Rockbox, etc.)

All files are ogg vorbis, haven't tried other file formats. I also haven't checked the behaviour if the Artist / Album tag contains a dot. I could imagine that the same issue is present there as well and that's the albums not showing up for the OP.

Tried the older 1.6.6 from F-droid which works fine, while 1.9.0 from F-droid doesn't (as well as 2.0.3 from Google Play).

Device:
Motorola Moto G 3rd gen
Android 6.0
System version 24.41.33.osprey_reteu_2gb.reteu.en.EU retde
Build MPI24.65-33
vlc 2.0.3 from Google Play

I've also checked on a Nexus 9, same issue.
Device:
Google Nexus 9
Android 6.0.1
Build MOB30M

Re: VLC 1.9 and 2.0 media scan does not place all media files in media library

Posted: 10 Jul 2016 08:33
by pesah
I also see this problem, files (I'm only using Opus, don't know about other file formats) with dots in filename don't show in the library. Playing them through 'Directories' works flawlessly.

Tested on vlc 2.0.3, stable (from google play) pre 2.0.0 versions didn't exhibit this bug.

Re: VLC 1.9 and 2.0 media scan does not place all media files in media library

Posted: 10 Jul 2016 08:59
by bluebrother
I also see this problem, files (I'm only using Opus, don't know about other file formats) with dots in filename don't show in the library.
This is slightly different to my issue: in my case files that have dots in the *tags* don't show up. Files with dots in the *filename* work fine (in fact the affected files have dots in their filenames, changing the filename doesn't help, changing the tag does.)

Also, you're sure this issue doesn't exist on 1.9? I can easily reproduce it with 1.9.

Re: VLC 1.9 and 2.0 media scan does not place all media files in media library

Posted: 11 Jul 2016 08:50
by pesah
I've played with it for a bit and you're right, it's the tag, not the filename that causes the problem. I happen to have all my audio files named as "tracknumber - title", that's why I suspected the filename to be the culprit.

As far as 1.9 is concerned: I can't really comment on that as I don't have it installed anywhere. All I know is that I first (and quickly, as couple of my favorite tracks are affected) noticed the problem with 2.0.0.

Re: VLC 1.9 and 2.0 media scan does not place all media files in media library

Posted: 11 Jul 2016 19:48
by Jean-Baptiste Kempf
Thanks a lot for this debugging. That seems easy enough to reproduce.

Re: VLC 1.9 and 2.0 media scan does not place all media files in media library

Posted: 14 Jul 2016 12:15
by beedaddy
I filed a bug (#17169) with exactly this issue (sorry, I found this thread only afterwards). I can confirm this bug with my opus files. mp3 files seem to work though. So my guess is that all files with xiph comments are affected.

Re: VLC 1.9 and 2.0 media scan does not place all media files in media library

Posted: 25 Jul 2016 13:17
by Jean-Baptiste Kempf
Seems weird, though.

Re: VLC 1.9 and 2.0 media scan does not place all media files in media library

Posted: 27 Jul 2016 13:55
by beedaddy
Seems weird, though.
Indeed. Unfortunately, for me this is a showstopper bug, because in my title tags, a dot is very common.

Re: VLC 1.9 and 2.0 media scan does not place all media files in media library

Posted: 28 Jul 2016 22:02
by Jean-Baptiste Kempf
Seems weird, though.
Indeed. Unfortunately, for me this is a showstopper bug, because in my title tags, a dot is very common.
Yep. I need a file with such a tag.

Re: VLC 1.9 and 2.0 media scan does not place all media files in media library

Posted: 29 Jul 2016 20:30
by bluebrother
Yep. I need a file with such a tag.
I've posted some files here: https://drive.google.com/open?id=0B8pPs ... 0NhLU1Rb0U

Code: Select all

$ vorbiscomment -l vorbis_128.ogg ARTIST=VLC Test TITLE=Test File feat. vorbis $ vorbiscomment -l vorbis_128_ok.ogg ARTIST=VLC Test TITLE=Test File feat vorbis $ id3v2 -l lame_128.mp3 id3v1 tag info for lame_128.mp3: Title : Artist: Album : Year: , Genre: Unknown (255) Comment: Track: 0 id3v2 tag info for lame_128.mp3: TIT2 (Title/songname/content description): Test File feat. mp3 TPE1 (Lead performer(s)/Soloist(s)): VLC Test
The files are actually taken from http://download.rockbox.org/test_files in case you need the original ones (they don't have any tags).

Additinally, for the non working vorbis file invoking the "Information" dialog I get a spinning circle at the top (where the preview appears on movies). I don't get that on the working one or the mp3 file.

Edit: files have been created using

Code: Select all

$ vorbiscomment -t "ARTIST=VLC Test" -t "TITLE=Test File feat vorbis" -w vorbis_128_ok.ogg $ vorbiscomment -t "ARTIST=VLC Test" -t "TITLE=Test File feat. vorbis" -w vorbis_128.ogg $ vorbiscomment -V vorbiscomment from vorbis-tools 1.4.0

Re: VLC 1.9 and 2.0 media scan does not place all media files in media library

Posted: 04 Aug 2016 16:51
by Jean-Baptiste Kempf
thx