Kodi Community Forum
new AFPClient for iOS/OSX <--SOLUTION FOR LION USERS - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: iOS & tvOS (https://forum.kodi.tv/forumdisplay.php?fid=137)
+---- Thread: new AFPClient for iOS/OSX <--SOLUTION FOR LION USERS (/showthread.php?tid=109723)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17


- g-off - 2011-09-20

You should look at the links in his post.
Turn on debugging log in settings. Post the xbmc.log as the ATV is not crashing.

LOG LOCATIONS:
/private/var/mobile/Library/Preferences/xbmc.log (this is the debug log, don't forget to enable debugging)
/private/var/log/syslog (if you don't have this, apt-get install syslogd, then try to re-produce the issue)
/private/var/mobile/Library/Logs/CrashReporter


- Paulkai - 2011-09-20

I hope I have done this right, here are my logs http://pastebin.com/gdrj4ESK. If this does not work let me know what you need

Thanks

Paul


- Memphiz - 2011-09-20

Paulkai Wrote:I hope I have done this right, here are my logs http://pastebin.com/gdrj4ESK. If this does not work let me know what you need

Thanks

Paul

no...this is the logfile from your xbmc on your mac ... please click the first link in my signature and follow these steps for providing the correct log from your ios device...


- ctawn - 2011-09-20

Yet another problem for me:

In my XBMC share folder I have symlinks to several different drives. With SMB, as long as I enabled "wide links" in the SMB configuration file, that was no problem. It seems with AFP those symlinks are not followed, and there is no config work around that I've been able to find with google anyway. Any ideas? If that doesn't work, I'm back to waiting for SMB to work with Lion and XBMC. Sad


- Paulkai - 2011-09-21

Hey memphiz

Hopefully this is right this time http://pastebin.com/s1JqKp18 Xbmc Log
and this is the syslog and log aggregated 2011/9/19 http://pastebin.com/mN8wQ0yb


- Memphiz - 2011-09-21

Paulkai Wrote:Hey memphiz

Hopefully this is right this time http://pastebin.com/s1JqKp18 Xbmc Log
and this is the syslog and log aggregated 2011/9/19 http://pastebin.com/mN8wQ0yb

Yeah right log this time. So it doesn't work over zeroconf because its still not able to using the "No Authent" authentification (which i call anonymous). It should work if you add the source by hand as afp://username:password@ip/share ...

attached a screenshot from my sharing settings under snow leopard ... and it works with zeroconf and with username password aswell ... (sorry ... german os ...)

"Jeder" is Everyody ...


- Memphiz - 2011-09-21

ctawn Wrote:Yet another problem for me:

In my XBMC share folder I have symlinks to several different drives. With SMB, as long as I enabled "wide links" in the SMB configuration file, that was no problem. It seems with AFP those symlinks are not followed, and there is no config work around that I've been able to find with google anyway. Any ideas? If that doesn't work, I'm back to waiting for SMB to work with Lion and XBMC. Sad

added in https://github.com/xbmc/xbmc/commit/15f6fe097afe0bb09f1d7852ddb458fc92920565


- Paulkai - 2011-09-21

Thanks Memphiz, I'm sure I have already tried that and it did not work will give it another go, I presume where you have /share in my case it would be the folder where my movies are in my case it would be apple movies.

Paul


- Memphiz - 2011-09-21

Paulkai Wrote:Thanks Memphiz, I'm sure I have already tried that and it did not work will give it another go, I presume where you have /share in my case it would be the folder where my movies are in my case it would be apple movies.

Paul

Code:
13:59:18 T:2955587584   DEBUG: AFP: Using anonymous authentication.
13:59:18 T:2955587584   DEBUG: AFP: Connected to server Memphis PowerMac using UAM "No User Authent"
13:59:18 T:2955587584   DEBUG: AFP: Connected to volume apple movies

It works here - even if i call the share "apple movies". Which osx version are you using again?


Time Capsule - zeroconfig access issue - psimondo - 2011-09-21

Memphiz Wrote:Yeah right log this time. So it doesn't work over zeroconf because its still not able to using the "No Authent" authentification (which i call anonymous). It should work if you add the source by hand as afp://username:password@ip/share ...

attached a screenshot from my sharing settings under snow leopard ... and it works with zeroconf and with username password aswell ... (sorry ... german os ...)

"Jeder" is Everyody ...

This is very helpful to know about zeroconfig. However, my files are on an Apple TimeCapsule with an attached USB drive. I too can use zeroconfig to see the TimeCapsule, but I cannot see the drive(s) or subfolders.

Does anyone know how to set up the TimeCapsule access to the drive to allow zeronfig to see the drives? There are no sharing preferences like on a mini...


- Paulkai - 2011-09-21

i must be doing something wrong!! I have OSX lion installed in shares i have the folder apple movies shared with read and write, afp is ticked, on the ATV 2 i go to add source then key in the afp://usernamepassword@ip/applemovies, with no spaces, when i do this all i get is this XBMC was unable to connect to the network location. This could be due to the network not being connected. Would you like to add to it any way. Even if I say yes it adds it but no content is found

Paul


- Ned Scott - 2011-09-21

Paulkai Wrote:i must be doing something wrong!! I have OSX lion installed in shares i have the folder apple movies shared with read and write, afp is ticked, on the ATV 2 i go to add source then key in the afp://usernamepassword@ip/applemovies, with no spaces, when i do this all i get is this XBMC was unable to connect to the network location. This could be due to the network not being connected. Would you like to add to it any way. Even if I say yes it adds it but no content is found

Paul

It should be

afp://username:password@ip/applemovies

With a Colon --> : <-- between username and password


- Paulkai - 2011-09-21

Cheers Ned will try that later and let you know Smile


- Paulkai - 2011-09-21

Just tried that I'm afraid it just comes up with exactly the same thing. I have checked my ip on the mac and its 100% correct even disabled file sharing then re enabled it, and still the same??

Paul


- Memphiz - 2011-09-22

I've tested your scenario now with lion as afp server. I just can't tell you something more unfortunately.

I made a directory in my homedirectory called afp. Made a directory called "movies" inside of "afp". Went to settings and activated sharing for folder "afp". I didn't even alter any setting. It works immediatly.

Please double check if in Settings -> User & User groups -> Guest - the guest access to shares is activated also.