Video Library does not work
|
2nd Aug, 2013, 09:40 PM
Post: #1
|
|||
|
|||
Video Library does not work
Hi,
although I seem to be the only one, I'll use the template from the "basic forum rules"... Software XBian version: 1.0Beta1.1 XBMC version: 12.2 Overclock settings: arm_freq=900 core_freq=500 gpu_freq=500 gpu_mem_256=128 gpu_mem_512=128 sdram_freq=500 over_voltage=6 over_voltage_sdram=1 Hardware Power supply rating: unknown RPi model (model A/B 256mb/512mb): Model B SD card size and make/type: 4GB Network (wireless or LAN): LAN Connected devices (TV, USB, network storage, etc.): NFS fileserver Logile Code: 03:19:46 T:2839540800 WARNING: DoWork - Unable to open video database. Can not save file state! Problem description: Video Library or any other video database features do not work. I access my movie collection over NFS, but it does not work either when I mount the NFS share on operating system level (fstab). At the moment I access the share with the build-in nfs support of xbmc. I recently reinstalled xbian to fix other problems. Before everything worked (with some hiccups). Not only the library is broken, but also the "mark as watched" feature. Music library works without problems. Selecting and watching movies from the file-view works just fine. How to reproduce: Select "set content" on any video Folder, configure the scraper and nothing happens. I shortened the logfile above to what seems relevant. Every time I choose "set content" on any video Folder something similiar appears in the logfile. Another small thing thats not worth a thread on its own: watching 1080p DTS movies from a source using the build-in NFS support works fine, while mounting the same source on operating system level and accessing it as local file within xbmc stutters a bit. Why? |
|||
2nd Aug, 2013, 11:18 PM
Post: #2
|
|||
|
|||
RE: Video Library does not work
Ok.... stopped xbmc
Code: service xbmc stop /home/xbian/.xbmc/userdata/Database/MyVideos75.db and started xmbc again... Code: service xbmc start |
|||
3rd Aug, 2013, 12:50 AM
Post: #3
|
|||
|
|||
RE: Video Library does not work
(2nd Aug, 2013 09:40 PM)kiney Wrote: watching 1080p DTS movies from a source using the build-in NFS support works fine, while mounting the same source on operating system level and accessing it as local file within xbmc stutters a bit. Why? without any doubt because of nfs mount options used. I don't know, which xbmc is using, but you can check the ones on system level with just "mount" performance (and specially lagging) is affected by more nfs mount options. for example using UDP/TCP, receive and send buffer sizes, use of nfs version (2,3,4) and more. for example when using buffers in 2k - 64k, the performance (max bandwidth) can be as much different as 2x. then UDP was known to provide lower latency, as it is not statefull. etc etc etc. let us know about the first issue with video DB. I have never seen such errors. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
3rd Aug, 2013, 01:08 AM
Post: #4
|
|||
|
|||
RE: Video Library does not work
Hi,
the library works again. It seems the database file got corrupted by some way. So if anyone has the same problem, just delete MyVideos75.db XBMC seems to recreate it (empty of course) automatically on startup. @mk01: according to nfsstat on the server xbmc uses NFS 3 while I mounted it manually with NFS 4. But xbmc does not seem to mount NFS shares anywhere but access them directly??? |
|||
3rd Aug, 2013, 01:22 AM
Post: #5
|
|||
|
|||
RE: Video Library does not work
(3rd Aug, 2013 01:08 AM)kiney Wrote: according to nfsstat on the server xbmc uses NFS 3 while I mounted it manually with NFS 4. ok, then try following options: nfsvers=3,rsize=65535,wsize=65535 and retest your video. xbmc is using system libs to provide the access, so at the end it uses the same libnfs for access. so the difference is in options for the nfs mount (or connection in xbmc case). Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
3rd Aug, 2013, 01:44 AM
Post: #6
|
|||
|
|||
RE: Video Library does not work
I experimented with some rsize, wsize options (from 8k to 64k) and tried with NFS 3 and NFS 4. The result is always the same. The video stutters a little every few seconds.
But its not really important for me, because the build-in NFS support of xbmc works fine. One Idea: does xbmc perhabs treat local and network files differently (buffersize?)? Because in the view of xbmc a mounted NFS volumen should be just like local files. |
|||
3rd Aug, 2013, 01:49 AM
Post: #7
|
|||
|
|||
RE: Video Library does not work
very good point ! exactly as you say.
xbmc is creating buffers for local and network sources. by default, for "local" almost no buffers (as most of the time there is local fs cache on fs level) and up to xMB for network. those settings should be in guisetting.xml. and to be honest, I use the xbmc own access as well. from simple reason, with network shared sources.xml and mediasources.xml, its much more simpler global / shared access from more XBMC installations in the network. It would be possible to configure with shared mounts (the same for all) via autofs, automount, but this is quite different per platform. but xbmc's sources.xml are the same over all supported platforms. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
3rd Aug, 2013, 02:18 AM
Post: #8
|
|||
|
|||
RE: Video Library does not work
I played a little with the cache settings in guisetting.xml, but I don't really get it.
Is the file documented somewhere? Theres an option Code: <cache> Code: <cachevideo> Also where is the difference of these caches to <cachemembuffersize> in advancedsettings.xml? |
|||
3rd Aug, 2013, 03:25 AM
Post: #9
|
|||
|
|||
RE: Video Library does not work
what happens, if you change the <cachevideo><lan> to 8388608 ?
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
3rd Aug, 2013, 04:27 AM
Post: #10
|
|||
|
|||
RE: Video Library does not work
no change for mounted NFS volumes
|
|||
3rd Aug, 2013, 06:03 AM
Post: #11
|
|||
|
|||
RE: Video Library does not work
then I suppose it's not worth spending time anymore
sometimes, some things are simply happening. Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
« Next Oldest | Next Newest »
|