Player does not display list of available videos even though it sees them.
|Status:||Closed||Start date:||28 Jul 2018|
|Target version:||PiBox - 1.0 - Atreides|
|Severity:||01 - Critical|
Samba share is visible and can be browsed from the terminal. But when vfe starts it doesn't display them. The log shows it scans them, but it doesn't list them in the window.
This happened after upgrading to Buildroot 2018.05, which upgraded to Samba 4. But I think this is just a bug in VFE.
RM #653: Add -D_FILE_OFFSET_BITS=64 so that stat() doesn't fail when trying to retrieve JSON data for video files. Check return code of stat() when slurping JSON data files and don't continue if there is a problem. Add more trace logs to better catch similar problems in the future.
#1 Updated by Hammel about 2 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
This was only happening on RPi B's. For some reason stat() on the JSON data files was returning EOVERFLOW. Adding -D_FILE_OFFSET_BITS=64, as suggested by the man page, fixed the problem.
VideoFE is once again displaying videos just fine on RPi B's.
Code committed and pushed.