Kodi Community Forum
ATV2 sees Mac but not shared folders - 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: ATV2 sees Mac but not shared folders (/showthread.php?tid=120041)

Pages: 1 2


ATV2 sees Mac but not shared folders - crismemo - 2012-01-15

I recently re-jailbroke my ATV2 as I previously had an old Jailbreak version. When trying to Add Videos and choose the zeroconf option for AFP, I see the name of my Mac on the network, but when I try to select to go into folders, nothing happens. I had this issue before, but updating to latest nightly build solved this. I'm so damned frustrated I could smash the whole lot now.

I have the latest Jailbreak version and updates for everything as far as I know (Macbook, ATV2, XBMC, iTunes) and I have setup the Sharing options for read access for everyone for the relevant folders, using AFP option only. This setup is the same as I always had when using the previous Jailbreak, so nothing has changed here.

Info:
XBMC v11.0.0 Eden version
ATV2 software 4.4.4 (3330)
Static IP addresses on ATV2 and Macbook
ATV2 connected to router via Ethernet, not wifi
Macbook connected to network via wifi

When using iTunes on ATV2 everything works fine and t sees my music stored on the Macbook, so I know the connection works between ATV2 and Macbook in principle, just not XBMC.

Thanks for any help attempts!


- Ned Scott - 2012-01-15

Like the stickies say, we need logs to be able to help you.


Cannot acces log file - crismemo - 2012-01-17

Hi,
Thanks for the reply, however I cannot even access the log file. I try with Cyberduck and it states Connection refused, then trying with Terminal, frontrow password is denied. An ideas?

Regards


- Ned Scott - 2012-01-18

Even with

username: root
Password: alpine

?


Log file - crismemo - 2012-01-20

Great, thanks I was missing the root username. Log below:

19:57:11 T:105177088 NOTICE: -----------------------------------------------------------------------
19:57:11 T:105177088 NOTICE: Starting XBMC, Platform: Darwin iOS (11.0.0 AppleTV2,1, Version 5.0.1 (Build 9A406a)). Built on Dec 24 2011 (Git:20111222-22ad8e4)
19:57:11 T:105177088 NOTICE: special://xbmc/ is mapped to: /private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome
19:57:11 T:105177088 NOTICE: special://xbmcbin/ is mapped to: /private/var/stash/Applications/XBMC.frappliance/XBMCData/XBMCHome
19:57:11 T:105177088 NOTICE: special://masterprofile/ is mapped to: /var/mobile/Library/Preferences/XBMC/userdata
19:57:11 T:105177088 NOTICE: special://home/ is mapped to: /var/mobile/Library/Preferences/XBMC
19:57:11 T:105177088 NOTICE: special://temp/ is mapped to: /var/mobile/Library/Preferences/XBMC/temp
19:57:11 T:105177088 NOTICE: special://frameworks/ is mapped to: /var/stash/Applications/XBMC.frappliance/Frameworks
19:57:11 T:105177088 NOTICE: The executable running is: /var/stash/Applications/XBMC.frappliance/XBMC
19:57:11 T:105177088 NOTICE: Log File is located: /var/mobile/Library/Preferences/xbmc.log
19:57:11 T:105177088 NOTICE: -----------------------------------------------------------------------
19:57:11 T:105177088 NOTICE: load settings...
19:57:11 T:105177088 NOTICE: special://profile/ is mapped to: special://masterprofile/
19:57:11 T:105177088 NOTICE: loading special://masterprofile/guisettings.xml
19:57:11 T:105177088 NOTICE: Getting hardware information now...
19:57:11 T:105177088 INFO: Using analog output
19:57:11 T:105177088 INFO: AC3 pass through is disabled
19:57:11 T:105177088 INFO: DTS pass through is disabled
19:57:11 T:105177088 INFO: AAC pass through is disabled
19:57:11 T:105177088 INFO: MP1 pass through is disabled
19:57:11 T:105177088 INFO: MP2 pass through is disabled
19:57:11 T:105177088 INFO: MP3 pass through is disabled
19:57:11 T:105177088 DEBUG: Error: Requested setting (videoscreen.screenmode) was not found. It must be case-sensitive
19:57:11 T:105177088 NOTICE: Checking resolution 12
19:57:11 T:105177088 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
19:57:11 T:105177088 DEBUG: CPlayerCoreConfig::<ctor>: created player DVDPlayer for core 1
19:57:11 T:105177088 DEBUG: CPlayerCoreConfig::<ctor>: created player oldmplayercore for core 1
19:57:11 T:105177088 DEBUG: CPlayerCoreConfig::<ctor>: created player PAPlayer for core 3
19:57:11 T:105177088 DEBUG: CPlayerSelectionRule::Initialize: creating rule: system rules
19:57:11 T:105177088 DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtv
19:57:11 T:105177088 DEBUG: CPlayerSelectionRule::Initialize: creating rule: hdhomerun/myth/rtmp/mms/udp
19:57:11 T:105177088 DEBUG: CPlayerSelectionRule::Initialize: creating rule: lastfm/shout
19:57:11 T:105177088 DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtsp
19:57:11 T:105177088 DEBUG: CPlayerSelectionRule::Initialize: creating rule: streams
19:57:11 T:105177088 DEBUG: CPlayerSelectionRule::Initialize: creating rule: flv/aacp/sdp
19:57:11 T:105177088 DEBUG: CPlayerSelectionRule::Initialize: creating rule: mp2
19:57:11 T:105177088 DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvd
19:57:11 T:105177088 DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdfile
19:57:11 T:105177088 DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdimage
19:57:11 T:105177088 DEBUG: CPlayerSelectionRule::Initialize: creating rule: sdp/asf
19:57:11 T:105177088 DEBUG: CPlayerSelectionRule::Initialize: creating rule: nsv
19:57:11 T:105177088 NOTICE: Loaded playercorefactory configuration
19:57:11 T:105177088 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
19:57:11 T:105177088 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
19:57:11 T:105177088 NOTICE: No settings file to load to load (special://xbmc/system/advancedsettings.xml)
19:57:11 T:105177088 NOTICE: No settings file to load to load (special://masterprofile/advancedsettings.xml)
19:57:11 T:105177088 NOTICE: Default DVD Player: dvdplayer
19:57:11 T:105177088 NOTICE: Default Video Player: dvdplayer
19:57:11 T:105177088 NOTICE: Default Audio Player: paplayer
19:57:11 T:105177088 NOTICE: Disabled debug logging due to GUI setting. Level 0.
19:57:11 T:105177088 NOTICE: Log level changed to 0
19:57:11 T:105177088 NOTICE: Loading media sources from special://masterprofile/sources.xml
19:57:12 T:105177088 NOTICE: GL_VENDOR = Imagination Technologies
19:57:12 T:105177088 NOTICE: GL_RENDERER = PowerVR SGX 535
19:57:12 T:105177088 NOTICE: GL_VERSION = OpenGL ES 2.0 IMGSGX535-63.14.2
19:57:12 T:105177088 NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.0
19:57:12 T:105177088 NOTICE: GL_EXTENSIONS = GL_OES_depth_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_half_float GL_OES_vertex_array_object GL_EXT_blend_minmax GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_separate_shader_objects GL_EXT_shader_texture_lod GL_EXT_texture_filter_anisotropic GL_APPLE_framebuffer_multisample GL_APPLE_rgb_422 GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_IMG_read_format GL_IMG_texture_compression_pvrtc
19:57:12 T:105177088 NOTICE: initializing playlistplayer
19:57:12 T:105177088 NOTICE: DONE initializing playlistplayer
19:57:14 T:105177088 NOTICE: initialize done
19:57:14 T:105177088 NOTICE: Running the application...
19:57:15 T:105177088 NOTICE: ES: Starting event server
19:57:15 T:123453440 NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
19:57:15 T:123453440 NOTICE: UDP: Listening on port 9777
19:57:15 T:105177088 NOTICE: starting zeroconf publishing
19:57:15 T:162574336 NOTICE: -->Python Interpreter Initialized<--
19:57:35 T:95059968 ERROR: GetDirectory - Error getting add
19:57:49 T:125583360 ERROR: Previous line repeats 1 times.
19:57:49 T:125583360 ERROR: LIBAFPCLIENT: Could not pick a matching UAM.
19:57:49 T:125583360 ERROR: AFP: Error connecting to afp://192.168.0.11:548/
19:57:49 T:125583360 ERROR: GetDirectory - Error getting afp://192.168.0.11:548/
19:57:49 T:105177088 ERROR: GetDirectory - Error getting zeroconf://%5fafpovertcp%2e%5ftcp%2e%40local%2e%40Chris%e2%80%99s%20MacBook%20Pro
19:57:49 T:105177088 ERROR: CGUIDialogFileBrowser::GetDirectory(zeroconf://%5fafpovertcp%2e%5ftcp%2e%40local%2e%40Chris%e2%80%99s%20MacBook%20Pro) failed
19:59:36 T:105177088 NOTICE: Storing total System Uptime
19:59:36 T:105177088 NOTICE: Saving settings
19:59:36 T:105177088 NOTICE: stop all
19:59:36 T:105177088 NOTICE: ES: Stopping event server
19:59:36 T:105177088 NOTICE: stopping zeroconf publishing
19:59:37 T:123453440 NOTICE: ES: UDP Event server stopped
19:59:37 T:105177088 NOTICE: stop sap announcement listener
19:59:37 T:105177088 NOTICE: stop zeroconf browser
19:59:37 T:105177088 NOTICE: clean cached files!
19:59:37 T:105177088 NOTICE: unload skin
19:59:37 T:105177088 WARNING: Cleanup: Having to cleanup texture button-nofocus.png
19:59:37 T:105177088 WARNING: Cleanup: Having to cleanup texture button-focus2.png
19:59:37 T:105177088 NOTICE: stop python
19:59:37 T:105177088 NOTICE: stopped
19:59:37 T:105177088 NOTICE: destroy
19:59:37 T:105177088 NOTICE: unload sections
19:59:37 T:105177088 WARNING: ReleaseTexture: Unable to release texture button-nofocus.png
19:59:37 T:105177088 WARNING: ReleaseTexture: Unable to release texture button-focus2.png
19:59:37 T:105177088 NOTICE: destroy
19:59:37 T:105177088 WARNING: Attempted to remove window 10013 from the window manager when it didn't exist
19:59:37 T:105177088 WARNING: Attempted to remove window 10014 from the window manager when it didn't exist
19:59:37 T:105177088 WARNING: Attempted to remove window 10015 from the window manager when it didn't exist
19:59:37 T:105177088 WARNING: Attempted to remove window 10016 from the window manager when it didn't exist
19:59:37 T:105177088 WARNING: Attempted to remove window 10017 from the window manager when it didn't exist
19:59:37 T:105177088 WARNING: Attempted to remove window 10018 from the window manager when it didn't exist
19:59:37 T:105177088 WARNING: Attempted to remove window 10019 from the window manager when it didn't exist
19:59:37 T:105177088 WARNING: Attempted to remove window 10107 from the window manager when it didn't exist
19:59:37 T:105177088 WARNING: Attempted to remove window 10115 from the window manager when it didn't exist
19:59:37 T:105177088 WARNING: Attempted to remove window 10104 from the window manager when it didn't exist
19:59:37 T:105177088 NOTICE: unload sections
19:59:37 T:105177088 NOTICE: application stopped...

Many thanks!


- Ned Scott - 2012-01-21

Do it just like this: http://wiki.xbmc.org/index.php?title=HOW-TO:Find_and_post_XBMC.log_for_iOS

You need debugging turned on, and post the log on pastebin.com and link to it, rather than pasting it in a post.

EDIT: seems the current log might have the info we need (maybe?): LIBAFPCLIENT: Could not pick a matching UAM.
Just remember that link for the next time you need to post a debug log. As far as what that actually means.. no idea. Memphiz will probably have an answer when he sees this.


Updated log file - crismemo - 2012-01-21

Hi again

OK, sorry I've just started switching from PC to Mac, so I'm still learning all the differences with Apple products! Bear with me!

Updated log file is here: http://pastebin.com/80L3hnK1

Thanks again for your support Ned.
Cheers


- Ned Scott - 2012-01-25

I'll try and remember to ask Memphiz about this the next time I see him. I tried searching around for what an UAM error could mean, and it sounds like either something that's within AFPclientlib itself or how it's built, but that kind of stuff is a bit over my head (slowly learning, kinda).


- Memphiz - 2012-01-25

No ... it means that it trys to auth with anonymous (a.k.a. everyone) access and the server doesn't support it. This happens when the AFP share isn't configured in the right way. Two solutions imho:

1. On the mac grant the right permissions to everyone
2. Or on the ATV2 provide username and password to the afp share.


Still no joy - crismemo - 2012-01-25

Thanks however it still does not work.

"Everyone" has read and write access to the folder, I also set up new folders to test, same result.

How do I save the username and password on ATV for the AFP share? I do not see a prompt or setting anywhere in XBMC to save these credentials.

I also tried enabling SMB sharing on my Mac, then I see a new source on ATV under zeroconf:// option called my MacBook Pro (SAMBA) - when I try to select the source, nothing happens. Also when I try choosing the SBM option, error shows Error 2: Share not available. I just don't get this. It was working fine until suddenly this issue ocurred. After re-jailbreaking the ATV the same problem exists, so it looks like something on my Mac, but I don't recall changing any settings anywehere for it to suddenly choose not to allow me to browse into these media sources.

Thanks for any help... I do feel that it's only a matter of time before my ATV goes out the window, but hopefully I can sort this before I totally lose control!


further update - crismemo - 2012-01-25

It worked... for 5 mins
Sometimes it works... then it shows Could not conect to network server. Bizarre

New log: http://pastebin.com/9KXVswdm


- Ned Scott - 2012-01-26

Do you have another computer or device you can test network sharing with? This might tell us if it's the ATV2 that's having connection problems, or the hosting Mac.


- timmymaxi - 2012-01-26

Any news yet?

I happen to have exactly the same problem. ZeroConfigBrowser sees my Mac, but cannot connect. In OSX folder is shared with everyone without restrictions. I tried and tried and for a short time it worked - now not anymore.

I have the same Log-file-error as crismemo - "LIBAFPCLIENT: Could not pick a matching UAM"

Here is the log: http://pastebin.com/kA3xCs8a

I am running ATV 2 with 4.4.4, newest XBMC-version and OSX Lion 10.7.2 on a Macbook...

Thanks for your guys help!


- Ned Scott - 2012-01-28

timmymaxi Wrote:Any news yet?

I happen to have exactly the same problem. ZeroConfigBrowser sees my Mac, but cannot connect. In OSX folder is shared with everyone without restrictions. I tried and tried and for a short time it worked - now not anymore.

I have the same Log-file-error as crismemo - "LIBAFPCLIENT: Could not pick a matching UAM"

Here is the log: http://pastebin.com/kA3xCs8a

I am running ATV 2 with 4.4.4, newest XBMC-version and OSX Lion 10.7.2 on a Macbook...

Thanks for your guys help!

See my post above yours. Test this with another device to we can see if it's XBMC or not.


- timmymaxi - 2012-01-28

Thanks for your reply!

Sorry, I forgot to say that I don't have a second mac so that I can test it with - and I guess testing it with windows is a different thing because it is not AFP?!

Hmm, but apart from that: exactly the same issue as described by crismemo - sometimes it works when exiting XBMC and trying to reconnect, its not working anymore...

:confused2: