2011-02-08, 04:39
Sorry for the long post but I have tried to provide all the necessary details.
I have two atv2's that I have setup with xbmc and I am trying to put together a shared scenario. All my movies and tv shows are on an smb share that both setups can see and play without issue.
I have created the mysql databases and added the necessary advanced settings. This works as expected and once the movies have been added to the library with one xbmc instance, the other instance sees them; marking a movie watched on one shows up on the other, etc.
Here is where the confusion comes in. I created an smb share specifically to store thumbnails. Based on other posts I have added the necessary:
<pathsubstitution>
<substitute>
<from>special://masterprofile/Thumbnails/</from>
<to>smb://user:[email protected]/xbmc/Thumbnails/</to>
</substitute>
</pathsubstitution>
I know that this works because if I do a completely new setup and start scraping, it writes all the images to this share and I can see them. The issue is however, that when I am browsing movies none of the images show up in the xbmc interface and I get errors in the log file. For example:
While scraping a movie the log file reports
17:47:58 T:158052352 M:131383296 WARNING: FileSmb::OpenForWrite() called with overwriting enabled! - smb://user:pass@192%2e168%2e0%2e4/xbmc/Thumbnails/Video/c/c6efce7a%2etbn
When I go to browse the movie the log file reports:
18:11:33 T:153133056 M:129851392 ERROR: Texture manager unable to load file: /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/Video/c/c6efce7a.tbn
Now, please notice that the error is now referring to /var/mobile/Library/Preferences/XMBC/userdata/Thumbnails/ and not special://masterprofile. So I also added the necessary substitution for that from path which did not help.
The most interesting part of all this, while I was playing around with this earlier this afternoon, I upgraded to 10.0-4 and all of a sudden it worked so I thought it must have been a bug that got fixed. Then when I upgraded my second atv2 it actually upgraded to 10.0-5 and did not work again.
I have started completely from scratch with a fresh database and fresh shares and still getting the same issue.
Is there something that I am possibly missing? I know the smb is working becase it writes the files, but then it can't read the files it just wrote?
What I have not done is wiped the devices, installed 10.0-4 manually and tried the same setup to see if it actually was fixed in 10.0-4 and then broke again in 10.0-5.
Any help or insight would be greatly appreciated. :confused2:
I have two atv2's that I have setup with xbmc and I am trying to put together a shared scenario. All my movies and tv shows are on an smb share that both setups can see and play without issue.
I have created the mysql databases and added the necessary advanced settings. This works as expected and once the movies have been added to the library with one xbmc instance, the other instance sees them; marking a movie watched on one shows up on the other, etc.
Here is where the confusion comes in. I created an smb share specifically to store thumbnails. Based on other posts I have added the necessary:
<pathsubstitution>
<substitute>
<from>special://masterprofile/Thumbnails/</from>
<to>smb://user:[email protected]/xbmc/Thumbnails/</to>
</substitute>
</pathsubstitution>
I know that this works because if I do a completely new setup and start scraping, it writes all the images to this share and I can see them. The issue is however, that when I am browsing movies none of the images show up in the xbmc interface and I get errors in the log file. For example:
While scraping a movie the log file reports
17:47:58 T:158052352 M:131383296 WARNING: FileSmb::OpenForWrite() called with overwriting enabled! - smb://user:pass@192%2e168%2e0%2e4/xbmc/Thumbnails/Video/c/c6efce7a%2etbn
When I go to browse the movie the log file reports:
18:11:33 T:153133056 M:129851392 ERROR: Texture manager unable to load file: /var/mobile/Library/Preferences/XBMC/userdata/Thumbnails/Video/c/c6efce7a.tbn
Now, please notice that the error is now referring to /var/mobile/Library/Preferences/XMBC/userdata/Thumbnails/ and not special://masterprofile. So I also added the necessary substitution for that from path which did not help.
The most interesting part of all this, while I was playing around with this earlier this afternoon, I upgraded to 10.0-4 and all of a sudden it worked so I thought it must have been a bug that got fixed. Then when I upgraded my second atv2 it actually upgraded to 10.0-5 and did not work again.
I have started completely from scratch with a fresh database and fresh shares and still getting the same issue.
Is there something that I am possibly missing? I know the smb is working becase it writes the files, but then it can't read the files it just wrote?
What I have not done is wiped the devices, installed 10.0-4 manually and tried the same setup to see if it actually was fixed in 10.0-4 and then broke again in 10.0-5.
Any help or insight would be greatly appreciated. :confused2: