[AppleTV2] Problem with pathsubstitute for thumbnails
#31
Actually you can use the same exact advancedsettings.xml file. The special:// protocol will map it to the correct folders
Reply
#32
Ned Scott Wrote:Actually you can use the same exact advancedsettings.xml file. The special:// protocol will map it to the correct folders

yeah cheers gave it a go and it worked perfectly, was amazed how quick it updated Smile love not having to wait hours to add sources lol
Image
Reply
#33
Did not want to start a new thread for my problem, so i will add it:

Got three Windows machines (one holds all the data) and one atv2.
I updated to the latest nighlty for testing.
I dropped the whole database and rebuilded it.

All machines are starting xbmc, showing thumbnails, all media, watched flags are in sync, etc.
All Windows machines can play the files, the atv2 displays for /every/ video "This file is no longer available. Do you want to remove it from the database?"

I will provide logs later...
Any ideas so far? Smile
Reply
#34
Select a movie on the atv2, press "i" to bring up movie info, tell us what the the network path looks like.
Reply
#35
Ned Scott Wrote:Select a movie on the atv2, press "i" to bring up movie info, tell us what the the network path looks like.

http://dl.dropbox.com/u/6451985/Foto%202...3%2013.jpg
http://dl.dropbox.com/u/6451985/Foto%202...3%2019.jpg
Reply
#36
Lucleonhart Wrote:http://dl.dropbox.com/u/6451985/Foto%202...3%2013.jpg
http://dl.dropbox.com/u/6451985/Foto%202...3%2019.jpg

My guess would be that the ATV2 is having problems resolving the SMB network name into an IP address. I think (I can't remember at the moment) that it's possible to use pathsubstitution for a network file path to another network file path, so you don't have to edit your library paths.

Try adding this to your advancedsettings.xml file along with your original thumb substitution entry (but just for the ATV2)

Code:
<substitute>
   <from>smb://KIMBA/</from>
   <to>smb://IP.ADDRESS.HERE.INSTEAD/</to>
  </substitute>

IP.ADDRESS.HERE.INSTEAD being the numeric local IP address of the SMB server.
Reply
#37
or add kimba and the IP to your /etc/hosts
Reply
#38
Lucleonhart Wrote:http://dl.dropbox.com/u/6451985/Foto%202...3%2013.jpg
http://dl.dropbox.com/u/6451985/Foto%202...3%2019.jpg

I would make sure that the ATV2 and the windows boxes are all using the same sources.xml file.
Reply
#39
sources.xml don't play any role when library is used ... you don't even need a source then ... its all in the database ...
AppleTV4/iPhone/iPod/iPad: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for Kodi: NFS (wiki)
HowTo configure avahi (zeroconf): Avahi_Zeroconf (wiki)
READ THE IOS FAQ!: iOS FAQ (wiki)
Reply
#40
Ned Scott Wrote:
Code:
<substitute>
   <from>smb://KIMBA/</from>
   <to>smb://IP.ADDRESS.HERE.INSTEAD/</to>
  </substitute>

IP.ADDRESS.HERE.INSTEAD being the numeric local IP address of the SMB server.
No difference. I do not think this is the problem, because the Thumbnails can easily be retrieved from smb://KIMBA ...

EDIT: Log: http://dl.dropbox.com/u/6451985/logpart.txt

Hm. Complete SMB access seems to be broken. When i try to access the share i got
Quote:22:08:31 T:141008896 DEBUG: OpenDir - Using authentication url smb://KIMBA
22:08:33 T:129757184 ERROR: GetDirectory - Error getting smb://KIMBA/Serien/
22:08:33 T:129757184 ERROR: CGUIDialogFileBrowser::GetDirectory(smb://KIMBA/Serien/) failed
Reply
#41
Lucleonhart Wrote:Did not want to start a new thread for my problem, so i will add it:

Got three Windows machines (one holds all the data) and one atv2.
I updated to the latest nighlty for testing.
I dropped the whole database and rebuilded it.

All machines are starting xbmc, showing thumbnails, all media, watched flags are in sync, etc.
All Windows machines can play the files, the atv2 displays for /every/ video "This file is no longer available. Do you want to remove it from the database?"

I will provide logs later...
Any ideas so far? Smile

yeah mine did this for a bit there and it was because the windows machine had changed IP address, changing to a static IP fixed it.
Image
Reply
#42
Hm.. so i got no fix with static IP.
Like i wrote above i am totally unable to access a smb share at all from the AppleTV. Any SMB share.
Shares on Windows or for "Everyone" with "FullControl" so i do not see any problem there. Sad
Reply
#43
Another possible bug: When changing the "thumb" for an episode (meaning the episode screenshot) via XBMC gui and exporting database later, the old thumb is exported instead of the one currently showing up in XBMC. dunno if this is ATV2 only or if its related to pathsubstitution only but it really sucks.
Reply
#44
I completely deleted the whole database and the thumbnails, reinstalled the latest nightly and rebuilt the database from scratch...
Still same stupid problem.
Like i said: I cannot access the SMB shares from atv2... Sad
Reply
#45
If you are using path substitution for your thumbnails and you added the user name and password to it and since you said that it is working then be sure to add the same user name and password to SMB movie links. You can try to do that as well with path substitution but I don't know if it will work. What I do is after I select the SMB location for my source by browsing I then click on the address that XBMC filled in for me and type in the username and password.
Reply

Logout Mark Read Team Forum Stats Members Help
[AppleTV2] Problem with pathsubstitute for thumbnails0