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


- Paulkai - 2011-09-22

Im afraid no go for me I have checked in user groups guest is activated as well as a shares, but every time i try to log on to zeroconfig my iMac pos up but when i hit enter it says working and thats it, I then try to do it manually but it can't find it, I appreciate the help memphiz, I just don't understand it, the only weird thing for me is under sharing with my apple movies I have a list as guest, everyone, and UNKNOWN USER, which it won't allow me to delete, The only other thing i can think of is there is something wrong with this build

Paul


Just upgraded to the latest nightly 21/9/2011 and still the same :{


- ctawn - 2011-09-22

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

Thanks! But what nightly version includes this change?

I just tried last night's version:

xbmc-20110921-e866112-master-i386

When I try to play a movie from the library located on a symlinked volume, I get the message:

"This file is no longer available, do you want to remove it from your library?"

Also, many thumbnails and fan art are still broken. I asked before how to make sure the paths to those are changed also, but haven't heard an answer yet.

When I tried to change one of the broken thumbnails, I got another crash, when I hit "OK" to set the remote thumbnail.

Here's the crash log:

http://pastebin.com/ZmwNXaiy

I can post the xbmc.log if requested. (I'll need to reproduce with logging on first.)


- Memphiz - 2011-09-22

ctawn Wrote:Thanks! But what nightly version includes this change?

I just tried last night's version:

xbmc-20110921-e866112-master-i386

When I try to play a movie from the library located on a symlinked volume, I get the message:

"This file is no longer available, do you want to remove it from your library?"

Also, many thumbnails and fan art are still broken. I asked before how to make sure the paths to those are changed also, but haven't heard an answer yet.

When I tried to change one of the broken thumbnails, I got another crash, when I hit "OK" to set the remote thumbnail.

Here's the crash log:

http://pastebin.com/ZmwNXaiy

I can post the xbmc.log if requested. (I'll need to reproduce with logging on first.)

For the symlink problem i need the xbmc.log. Could be that it is included in the 22th of sept nightly. Also i would like to see a "ls -al" on your shared folder for getting an idea how you symlinked.

The crash is related to the new jpeg decoder... - dev is pinged ...


- innovaciones - 2011-09-23

Paulkai Wrote:Im afraid no go for me I have checked in user groups guest is activated as well as a shares, but every time i try to log on to zeroconfig my iMac pos up but when i hit enter it says working and thats it, I then try to do it manually but it can't find it, I appreciate the help memphiz, I just don't understand it, the only weird thing for me is under sharing with my apple movies I have a list as guest, everyone, and UNKNOWN USER, which it won't allow me to delete, The only other thing i can think of is there is something wrong with this build

Paul


Just upgraded to the latest nightly 21/9/2011 and still the same :{

I have the same problem, I cant connect to any external disk shares! It works with the internal disk drive of my iMac but when I try to connect to my external Seagate disk it fails. Im using Lion with AFP, I try EVERYTHING and it doesnt work, anyone else is having this problem? BTW my external disks are in NTFS and FAT, I wonder if this could be the problem.

Thanks!

Humberto.


- Paulkai - 2011-09-23

I thought it was just me, I'm sure I have done everything correctly I will try the latest nightly and see if that resolves the problem Smile


- ctawn - 2011-09-23

Memphiz Wrote:For the symlink problem i need the xbmc.log. Could be that it is included in the 22th of sept nightly. Also i would like to see a "ls -al" on your shared folder for getting an idea how you symlinked.

The crash is related to the new jpeg decoder... - dev is pinged ...

OK, I now used the Sep 23 nightly with the same problem(s):

1. Tried to play a film called "9 Naga" located on Volume "Rakus" with the "no longer exists in your library" error.

2. many thumbnails and fanart still broken in Movie library.

Here's the xbmc.log:

http://pastebin.com/KZdC3N6M

I noticed a few things from the log:

1. I see no mention of the movie I tried to play ("9 Naga").

2. However I repeatedly see 4 "OpenDir" messages related to 4 OTHER movies in the same volume & directory, that suggest that smb:// is somehow still being used. (Even though I changed everything to afp:// in the .db files, AFAIK.)

Here's a "ls -al"

Code:
MacPro:XBMC ctawn$ ls -al
total 56
drwx------  12 ctawn  staff   408 Mar  6  2011 .
drwxr-xr-x  11 ctawn  admin   374 Jul 21  2009 ..
-rw-r--r--@  1 ctawn  staff  6148 Jun 25  2010 .DS_Store
-rw-r--r--   1 ctawn  staff     0 Jul 21  2009 .com.apple.timemachine.supported
drwxr-xr-x   5 ctawn  staff   170 Jul 21  2009 Cats
drwxr-xr-x  11 ctawn  staff   374 Jul 25  2009 Music
drwxr-xr-x   3 ctawn  staff   102 Jul 21  2009 Pictures
lrwxr-xr-x   1 ctawn  staff    30 Jul 21  2009 Video [Gendut] symlink -> /Volumes/Gendut/Video [Gendut]
lrwxr-xr-x   1 ctawn  staff    34 Aug  4  2009 Video [HumuHumu] symlink -> /Volumes/HumuHumu/Video [HumuHumu]
lrwxr-xr-x   1 ctawn  staff    48 Mar  6  2011 Video [Komodo-iTunes] symlink -> /Volumes/Komodo/Music/iTunes Music Folder/Movies
lrwxr-xr-x   1 ctawn  staff    26 Jul 21  2009 Video [Naga] symlink -> /Volumes/Naga/Video [Naga]
lrwxr-xr-x   1 ctawn  staff    28 Jul 21  2009 Video [Rakus] symlink -> /Volumes/Rakus/Video [Rakus]



- dirtymurt - 2011-09-24

htpcrelic Wrote:I'm possibly the only person here running AFP server software on a Windows 7 server (ExtremeZ-IP). Would I be better off using this or sticking with SMB?

no i'm running it too, but even though it shows up in finder on all my macs instantly, i cannot get xbmc to recognise it on my atv2 but it does work on my macbook, both running latest nightlies


- freshmikeb - 2011-09-24

to you guys having trouble getting afp going, you may want to download and use a handy configuration utility called SharePoints -- http://www.hornware.com/sharepoints/

i can't confirm if it works with Lion but i managed to get my afp setup up and running pretty quickly using SharePoints to create my shares (one usb external hd and one fw). for whatever reason it can be tricky getting external drives shared using only the OS X Sharing prefpane to setup.

i've had SharePoints in my toolbox for years and it's always just worked.

mkb


- Ned Scott - 2011-09-25

freshmikeb Wrote:to you guys having trouble getting afp going, you may want to download and use a handy configuration utility called SharePoints -- http://www.hornware.com/sharepoints/

i can't confirm if it works with Lion but i managed to get my afp setup up and running pretty quickly using SharePoints to create my shares (one usb external hd and one fw). for whatever reason it can be tricky getting external drives shared using only the OS X Sharing prefpane to setup.

i've had SharePoints in my toolbox for years and it's always just worked.

mkb

10.4 and lower only. I used to have this software years ago and they dropped support in 10.5, so 10.6 and 10.7 also don't work. People kept asking them to update support, but the developers there never did.


- Paulkai - 2011-09-25

I just wonder from reading the above posts, is there a problem with afp share if you are using lion, no matter which build I have tried I can't get afp to work.

Paul


- Memphiz - 2011-09-25

ctawn Wrote:OK, I now used the Sep 23 nightly with the same problem(s):

1. Tried to play a film called "9 Naga" located on Volume "Rakus" with the "no longer exists in your library" error.

2. many thumbnails and fanart still broken in Movie library.

Here's the xbmc.log:

http://pastebin.com/KZdC3N6M

I noticed a few things from the log:

1. I see no mention of the movie I tried to play ("9 Naga").

2. However I repeatedly see 4 "OpenDir" messages related to 4 OTHER movies in the same volume & directory, that suggest that smb:// is somehow still being used. (Even though I changed everything to afp:// in the .db files, AFAIK.)

Here's a "ls -al"

Code:
MacPro:XBMC ctawn$ ls -al
total 56
drwx------  12 ctawn  staff   408 Mar  6  2011 .
drwxr-xr-x  11 ctawn  admin   374 Jul 21  2009 ..
-rw-r--r--@  1 ctawn  staff  6148 Jun 25  2010 .DS_Store
-rw-r--r--   1 ctawn  staff     0 Jul 21  2009 .com.apple.timemachine.supported
drwxr-xr-x   5 ctawn  staff   170 Jul 21  2009 Cats
drwxr-xr-x  11 ctawn  staff   374 Jul 25  2009 Music
drwxr-xr-x   3 ctawn  staff   102 Jul 21  2009 Pictures
lrwxr-xr-x   1 ctawn  staff    30 Jul 21  2009 Video [Gendut] symlink -> /Volumes/Gendut/Video [Gendut]
lrwxr-xr-x   1 ctawn  staff    34 Aug  4  2009 Video [HumuHumu] symlink -> /Volumes/HumuHumu/Video [HumuHumu]
lrwxr-xr-x   1 ctawn  staff    48 Mar  6  2011 Video [Komodo-iTunes] symlink -> /Volumes/Komodo/Music/iTunes Music Folder/Movies
lrwxr-xr-x   1 ctawn  staff    26 Jul 21  2009 Video [Naga] symlink -> /Volumes/Naga/Video [Naga]
lrwxr-xr-x   1 ctawn  staff    28 Jul 21  2009 Video [Rakus] symlink -> /Volumes/Rakus/Video [Rakus]


Symlinks into other volumes definitily won't work. Sorry if i missunderstood you before.


- Memphiz - 2011-09-25

Paulkai Wrote:I just wonder from reading the above posts, is there a problem with afp share if you are using lion, no matter which build I have tried I can't get afp to work.

Paul

Don't know what i should say ... but normally in forums only users which have problems post something. I would like to help you - but i don't know which i should try else for reproducing that behaviour here. And i can't fix things i don't see Sad


- Doombelly - 2011-09-26

Doombelly Wrote:I just installed the latest nightly. I have been using AFP a few days now with no problems and better performance than NFS.

However with the new build installed i can no longer get it to update my library. Its scans movies and tv show but dosnt find anything.

This is what it says in the log (the same lines for all my content):

[HTML]01:02:03 T:122101760 DEBUG: AFP: Using anonymous authentication.
01:02:03 T:122101760 DEBUG: VideoInfoScanner: No (new) information was found in dir afp://10.0.1.8:548/tvshows/Entourage/[/HTML]

However i know that there are new shows to update. Any ideas?

hmm... update.. some might need the beginning of the scan log:

[HTML]01:01:54 T:122101760 NOTICE: VideoInfoScanner: Starting scan ..
01:01:54 T:122101760 DEBUG: AFP: Using anonymous authentication.
01:01:54 T:115445760 DEBUG: Previous line repeats 1 times.
01:01:54 T:115445760 DEBUG: Thread Background Loader 115445760 terminating
01:01:56 T:122101760 DEBUG: VideoInfoScanner: Rescanning dir 'afp://10.0.1.8:548/movies/' due to change (fast1315852207 != FD44DEAD83F3DAA74B50CD07FEC5551F)
01:01:56 T:122101760 DEBUG: GetMovieId (afp://10.0.1.8:548/movies/Depeche Mode - One Night in Paris - The Exciter Tour 2001.mkv), query = select idMovie from movie where idFile=569
01:01:56 T:104710144 INFO: Python, unloading python shared library because no scripts are running anymore
01:01:56 T:122101760 DEBUG: GetMovieId (afp://10.0.1.8:548/movies/louis.c.k.hilarious.2010.hdtv.xvid-fqm.avi), query = select idMovie from movie where idFile=1
01:01:56 T:122101760 DEBUG: GetMovieId (afp://10.0.1.8:548/movies/RADIOHEAD LIVE IN PRAHA.mov), query = select idMovie from movie where idFile=2
01:01:56 T:122101760 DEBUG: GetMovieId (afp://10.0.1.8:548/movies/Sammy's Adventures.m4v), query = select idMovie from movie where idFile=3
01:01:56 T:122101760 DEBUG: GetMovieId (afp://10.0.1.8:548/movies/U2_ELEVATION_2001_DISC1.mkv), query = select idMovie from movie where idFile=4
01:01:56 T:122101760 DEBUG: Mysql execute: update path set strHash='fast1315852608' where idPath=1
01:01:56 T:122101760 DEBUG: VideoInfoScanner: Finished adding information from dir afp://10.0.1.8:548/movies/
01:01:56 T:122101760 DEBUG: AFP: Using anonymous authentication.
01:01:56 T:122101760 DEBUG: VideoInfoScanner: Skipping dir 'afp://[/HTML]

Memphiz told me that this did not have anything to do with AFP. However this only happens when i connect using AFP. If I connect using NFS then it will scrap fine.

I am testing using: xbmc-20110923-7ebde3d-master-atv2.deb (I also tried xbmc-20110924-0074b5e-master-atv2.deb). I have no problem scrapping using AFP and this version: xbmc-20110908-9a72b39-master-atv2.deb.

Below is a link to a log where i first try to scan the library using an AFP connection and it finds nothing. Afterwards i delete the source and create one using NFS and then it starts scanning (i stop the scan after a few moments).

http://pastebin.com/1JVU4Qnh

Any input on this issue?


- Memphiz - 2011-09-26

Here you see what changed between sep 8th and today ...

https://github.com/xbmc/xbmc/commits/15f6fe097afe0bb09f1d7852ddb458fc92920565/xbmc/filesystem/AFPDirectory.cpp

imho only the "[fix] - mark files starting with "." as hidden for" is there ... but it only hides files which start with "." ... don't know what else is going on though ...

for ruling it out enable the hidden files in your settings (settings->appearence->file lists->show hidden files and directories)


- Doombelly - 2011-09-27

Memphiz Wrote:Here you see what changed between sep 8th and today ...

https://github.com/xbmc/xbmc/commits/15f6fe097afe0bb09f1d7852ddb458fc92920565/xbmc/filesystem/AFPDirectory.cpp

imho only the "[fix] - mark files starting with "." as hidden for" is there ... but it only hides files which start with "." ... don't know what else is going on though ...

for ruling it out enable the hidden files in your settings (settings->appearence->file lists->show hidden files and directories)

Thanks for the answer but enabling the hidden files did not do the trick.

However it could be something like that. When i add the tvshow source using NFS (and all the other ways/times i have done this) I can see all the TV-show sub folders like tvshows/game of thrones and so on.... however using AFP in these new builds (not the one from the 8th of september) i can only choose the tvshows folder. I can not see all the subfolders or choose one of those.

If i use the "files" feature TVshows just comes out empty. Normally this can be used to see everything in the folder (both scrapped and non scraped items).

Could this have something to do with it?