alan sh Posted June 11, 2014 Share Posted June 11, 2014 I've just done the v2 upgrade and also upgraded my Android device. The new app connects OK and I can set up passthru. I can see data in folders, but the menu items "Videos", "Music", "Photos" and "Documents" are not showing anything. All I see are spinning wheels next to each of them Any idea what's going on? I've attached a screen shot from my PC connected using a browser. Cheers Alan Link to comment Share on other sites More sharing options...
Yinmeout Posted June 11, 2014 Share Posted June 11, 2014 That's normal - you need to wait for it complete indexing the content of your disk. The new OS uses SQL server (lite) to build a database. As a guide around 10000 music tracks will take around 5 hours to complete (in my case) - so I'd leave it overnight. Link to comment Share on other sites More sharing options...
Yellowbeard Posted June 11, 2014 Share Posted June 11, 2014 That's normal - you need to wait for it complete indexing the content of your disk. The new OS uses SQL server (lite) to build a database. As a guide around 10000 music tracks will take around 5 hours to complete (in my case) - so I'd leave it overnight. Keep in mind also that if you enable DLNA, this will happen again as DLNA and the internal media server do not work from the same lists. DLNA will build its own list and it's SLOW. Link to comment Share on other sites More sharing options...
BillRathbone Posted June 11, 2014 Share Posted June 11, 2014 The little "spinning circle" icon to the right of the four media types indicates that the server is still scanning and building the database. Link to comment Share on other sites More sharing options...
alan sh Posted June 12, 2014 Author Share Posted June 12, 2014 All great answers. Many thanks. Alan Link to comment Share on other sites More sharing options...
alan sh Posted June 12, 2014 Author Share Posted June 12, 2014 I checked just now. Nothing has changed. It's been over 12 hours now. Alan Link to comment Share on other sites More sharing options...
BillRathbone Posted June 12, 2014 Share Posted June 12, 2014 Hmm ... seems like a long time, depending on the number of files being scanned. How many MP3s do you have? Link to comment Share on other sites More sharing options...
Yellowbeard Posted June 12, 2014 Share Posted June 12, 2014 I checked just now. Nothing has changed. It's been over 12 hours now. Alan Mine did this also. Try powering the unit down and restarting it. I had a very large number of files on it. ::pirate:: Link to comment Share on other sites More sharing options...
alan sh Posted June 12, 2014 Author Share Posted June 12, 2014 I've just done that. I've also turned off DLNA. I'll give it another 5 hours or so. Alan Link to comment Share on other sites More sharing options...
BillRathbone Posted June 12, 2014 Share Posted June 12, 2014 Ahh ... turning on DLNA at the same time as the initial app server scan is probably the source of the big delay. It means that two different processes are scanning the disc and extracting metadata, building two different databases. It's a good idea to do the app server scan first (this builds a database in the hidden folder ".vapoc"), then turning on DLNA and doing that scan (which builds a database in the hidden folder ".minidlna"). Because both processes will be fighting for disc access and processor resources, doing them sequentially should actually be faster than doing both at the same time. Link to comment Share on other sites More sharing options...
alan sh Posted June 13, 2014 Author Share Posted June 13, 2014 Right - update. It can now see my music, but still not see any videos. I have thousands of music tracks but hundreds of videos. What do I do now? regards Alan Link to comment Share on other sites More sharing options...
alan sh Posted June 13, 2014 Author Share Posted June 13, 2014 A thought. Should I delete database files and let it start again? If so, which files? Alan Link to comment Share on other sites More sharing options...
Yinmeout Posted June 13, 2014 Share Posted June 13, 2014 You might want to do some testing to help figure out what the issue is. Firstly - the scanner only cares about certain file extensions - so make sure they are MP4 for Video. Things you might find useful. 1. You can tickle the scan - The OS records a checksum in the database of the current file allocation table hash - so each time you make even a 1 byte change on the volume, the file allocation table hash value is not = to the database recorded value. Therefore, a new scan is initiated. 2. I would approach this by re-encoding a short film (-t option = number of seconds to process) into various formats. (Mpeg and h264) and then placing them in different transport wrappers. m2ts (mpeg two transport stream) and Mp4. Here are the commands (respectively to above) to do that using ffmpeg. ffmpeg -i "D:\myfile.mp4" -t 00:10 -acodec mp3 -vcodec mpeg2video -f mpegts "my-mpeg2-mp3-m2ts-wrapper-test.mp4" ffmpeg -i "D:\myfile.mp4" -t 00:10 -acodec aac -ac 2 -strict experimental -ab 192k -ar 48000 -vcodec h264 -crf 18 -preset medium -level 4.1 -f mpegts "my-h264-aac-m2ts-wrapper-test.mp4" ffmpeg -i "D:\myfile.mp4" -t 00:10 -acodec mp3 -vcodec mpeg2video -f mp4 "my-mpeg2-mp3--mp4-wrapper-test.mp4" ffmpeg -i "D:\myfile.mp4" -t 00:10 -acodec aac -ac 2 -strict experimental -ab 192k -ar 48000 -vcodec h264 -crf 18 -preset medium -level 4.1 -f mp4 "my-h265-acc-mp4-wrapper-test.mp4" 3. The scanner basically doesn't care (beyond the file format being correct for the extension) what's in the file. As I mention before, an MP4 extension is required for the scanner to pick them up as 'in scope'. Just pop them onto the drive and use a browser to see if they are found and displayed in the list. From there you can deduce which if the above options are working and non working. If that all sounds a bit scary the other option is to copy the three database files off your air drive library.db-shm library.db-wal library.db and open it with Sqllitebrowser just search on SQL lite browser - there is a free one on sourceforge. And then you can see exactly what's being found, or not. Finally - more drastic. To blow away the DB - connect up over USB and delete the library.db-shm library.db-wal (not the library.db file I have found). It's much easier to test all this on a clean drive and fill it up once you have figured out how it all works :biggrin: Link to comment Share on other sites More sharing options...
alan sh Posted June 13, 2014 Author Share Posted June 13, 2014 Cheers, I'll have a look a that tonight. Link to comment Share on other sites More sharing options...
BillRathbone Posted June 13, 2014 Share Posted June 13, 2014 Alan - you said you could see your music but not your videos. Did you still see the spinning circle? Deleting the database is an option. If you want to do that, the best way is to connect via USB, delete the entire hidden folder ".vapoc", disconnect and restart. It will take some time (again) to scan through your music and videos. Link to comment Share on other sites More sharing options...
BillRathbone Posted June 13, 2014 Share Posted June 13, 2014 If you just want to restart the database scan, there is a simpler way - go to Settings, look for "Build Mobile Media Library now:" and press "Start." This will, as the name suggests, restart the scan, so with a lot of content you will still be waiting a while for it to finish. Link to comment Share on other sites More sharing options...
alan sh Posted June 13, 2014 Author Share Posted June 13, 2014 Bill, you are correct. I could see the music. But I still had 4 spinning circles. I will delete ".vaboc" and see what happens. regards Alan Link to comment Share on other sites More sharing options...
alan sh Posted June 13, 2014 Author Share Posted June 13, 2014 I;ve just deleted .vaboc. Also checked the number of files. I've got about 1500 videos and 8,400 music files. Alan Link to comment Share on other sites More sharing options...
BillRathbone Posted June 13, 2014 Share Posted June 13, 2014 Gosh - for that number of files, it really shouldn't be taking so long. Let me know how it goes after you delete the folder. Link to comment Share on other sites More sharing options...
alan sh Posted June 13, 2014 Author Share Posted June 13, 2014 2 hours later. Music is there, photos really there, videos - none found. But, I can go into folders, find an mp4 file and it plays on my tablet (Android 4.4.3) Weird. Link to comment Share on other sites More sharing options...
Yellowbeard Posted June 13, 2014 Share Posted June 13, 2014 Are the progress wheels still spinning? Link to comment Share on other sites More sharing options...
alan sh Posted June 13, 2014 Author Share Posted June 13, 2014 Yes. All 4 of them Link to comment Share on other sites More sharing options...
Yellowbeard Posted June 13, 2014 Share Posted June 13, 2014 Then it's still building the database. Give it time. Link to comment Share on other sites More sharing options...
alan sh Posted June 14, 2014 Author Share Posted June 14, 2014 This show what I now see. Summary: The progress wheels have now stopped. When I open the Android app, the side bar is obscuring some of the RH window (first attachment) I go into TV Shows and not all of my folders are shown. I go into folder view and I can see all my folders. The attached screenshots show what I can see. Look at "TV shows" (second attachment) and then compare it with the two "Folder views" and you can see what I mean. I have not looked at "Videos" yet. It looks like the database has not built itself correctly. Alan Link to comment Share on other sites More sharing options...
BillRathbone Posted June 15, 2014 Share Posted June 15, 2014 The screen shots you sent seem correct to me. The folder view shows the folders on the drive. The TV shows view tries to group by show, season number and episode number -- if the metadata is present. If the metadata is not present, the videos will appear in the "Movies" grouping instead. I suggest you verify the metadata on your TV shows. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.