Android SMB sharing issue
#1
Sad 
Alright, I'm not sure where else to turn at this point so I'm hoping someone may be able to help me out.

I've got a Asus Transformer TF700T running XBMC 12.1 Frodo. Somehow I managed to get it to communicate with my HTPC on my network and build a library. Everything worked, everything was great, everyone rejoiced it was a happy day. Go back the next day to play something else and now it's saying it can't connect, it's viewing every movie and episode as no longer there and wanting to remove it from the library. This, to me makes absolutely not a single bit of sense. At all. Nothing changed on the HTPC. It wasn't rebooted or updated, but now for some reason the tablet isn't connecting. It is driving me absolutely nuts. I've tried everything I can think of from removing and recreating the shares on the HTPC to completely restoring the tablet back to factory to try again. That of course didn't help. I can go into Astro file manager and connect to the computer and see the folders and files. As soon as I try to access a file to open it I'm given a popup saying 'An error has occurred. open failed: ENOENT (No such file or directory).' Which again, makes absolutely no sense to me. I've completely restored the tablet but yet it can see these shares as soon as I add the SMB location to the tablet. Other computers on the network can see and access the files fine. The files are still clearly visible on the computer itself. The files are intact and aren't corrupted. I'm just kind of at my wits end here and ready to throw the tablet through a window.

My HTPC is running Win 7 Pro. The homegroup is disabled, the folders are shared out. There is no username/pass required to access the shared folders.
The tablet is a Asus Transformer TF700T running Android 4.2.1 and XBMC Frodo 12.1 on the latest build from the front page.

I'm hoping someone has a suggestion or idea that I haven't gone through to figure out how my tablet has gone from working fine to not accessing any networked file. Because as I said, I'm at my wits end and ready to throw it.

Edit: To add something else I'm noticing that may be relevant - Under Astro, now all my directories/filenames have a '/' in front of their names whereas before I do not believe they did. If that is somehow involved great, if not I'm still stuck.
Reply
#2
You may want to post a log and a copy of your sources.xml file.
Reply
#3
(2013-05-02, 18:28)jhhoffma Wrote: You may want to post a log and a copy of your sources.xml file.

I've been having the same problem on my Pivos (Linux) and my Nexus 10, but not my windows 7 machine. I use advancedsettings.xml and pathsubstitution for passwords.xml,sources.xml,mediasources.xml, and addons_data.

First I was just not getting the Pivos to show any of the sources or media sources as well as my mythtv addon not finding the settings (so it would fail). Then after awhile (around when I started to try using passwords.xml) it got worse and neither device would start up. If I don't use a passwords.xml entry in advancedsetting I can startup, but everything else is just messed up. But like I said my windows 7 machine is fine. Permission look fine on my linux server to those samba shares.[/code]

advancedsettings.
Code:
<advancedsettings>

    <videodatabase>
        <type>mysql</type>
        <host>192.168.1.102</host>
        <port>3306</port>
        <user>xbmc</user>
        <pass>xbmc</pass>
    </videodatabase>

    <musicdatabase>
        <type>mysql</type>
        <host>192.168.1.102</host>
        <port>3306</port>
        <user>xbmc</user>
        <pass>xbmc</pass>
    </musicdatabase>

     <videolibrary>
          <importwatchedstate>true</importwatchedstate>
     </videolibrary>

    <pathsubstitution>
    
        <substitute>
            <from>special://profile/sources.xml</from>
            <to>SMB://LSERV/xbmc/userdata/sources.xml</to>
        </substitute>

        <substitute>
            <from>specia://profile/mediasources.xml</from>
            <to>SMB://LSERV/xbmc/userdata/mediasources.xml</to>
        </substitute>
    
        <substitute>
            <from>special://profile/addon_data/</from>
            <to>SMB://LSERV/xbmc/userdata/addon_data/</to>
        </substitute>
        
        <substitute>
            <from>special://profile/passwords.xml</from>
            <to>SMB://LSERV/xbmc/userdata/passwords.xml</to>
        </substitute>
    
    </pathsubstitution>
    
</advancedsettings>

sources.xml
Code:
<sources>
    <programs>
        <default pathversion="1"></default>
    </programs>
    <video>
        <default pathversion="1"></default>
        <source>
            <name>Documentaries</name>
            <path pathversion="1">SMB://LSERV/Documentaries/</path>
        </source>
        <source>
            <name>Videos</name>
            <path pathversion="1">SMB://LSERV/Videos/</path>
        </source>
        <source>
            <name>Shows</name>
            <path pathversion="1">SMB://LSERV/Shows/</path>
            <path pathversion="1">SMB://LSERV/Drew/Shows/</path>
            <path pathversion="1">SMB://LSERV/Jenn/Shows/</path>
        </source>
        <source>
            <name>Movies</name>
            <path pathversion="1">SMB://LSERV/Movies_0/</path>
            <path pathversion="1">SMB://LSERV/Movies_1/</path>
            <path pathversion="1">SMB://LSERV/Movies_2/</path>
            <path pathversion="1">SMB://LSERV/Drew/Movies/</path>
            <path pathversion="1">SMB://LSERV/Jenn/Movies/</path>
        </source>
    </video>
    <music>
        <default pathversion="1"></default>
        <source>
            <name>Drew&apos;s Music</name>
            <path pathversion="1">SMB://LSERV/Drew/Music/</path>
        </source>
        <source>
            <name>Jenn&apos;s Music</name>
            <path pathversion="1">SMB://LSERV/Jenn/Music/</path>
        </source>
    </music>
    <pictures>
        <default pathversion="1"></default>
        <source>
            <name>Photos</name>
            <path pathversion="1">SMB://LSERV/Photos/</path>
        </source>
    </pictures>
    <files>
        <default pathversion="1"></default>
    </files>
</sources>

mediasources.xml
Code:
<mediasources>
    <network>
        <location id="1">SMB://LSERV/Movies_0</location>
        <location id="2">SMB://LSERV/Movies_1</location>
        <location id="3">SMB://LSERV/Movies_2</location>
        <location id="4">SMB://LSERV/Shows</location>
        <location id="5">SMB://LSERV/Documentaries</location>
        <location id="6">SMB://LSERV/Photos</location>
        <location id="7">SMB://LSERV/Drew</location>
        <location id="8">SMB://LSERV/Jenn</location>
    </network>
</mediasources>

xbmc.log from Nexus 10
Code:
20:33:26 T:1894111176  NOTICE: -----------------------------------------------------------------------
20:33:26 T:1894111176  NOTICE: Starting XBMC (12.0-RC1 Git:20121212-2981106), Platform: Linux (Android, 3.4.5-gaf9c307 armv7l). Built on Dec 12 2012
20:33:26 T:1894111176  NOTICE: special://xbmc/ is mapped to: /data/data/org.xbmc.xbmc/cache/apk/assets
20:33:26 T:1894111176  NOTICE: special://xbmcbin/ is mapped to: /data/data/org.xbmc.xbmc/cache/apk/assets
20:33:26 T:1894111176  NOTICE: special://masterprofile/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/userdata
20:33:26 T:1894111176  NOTICE: special://home/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc
20:33:26 T:1894111176  NOTICE: special://temp/ is mapped to: /data/data/org.xbmc.xbmc/cache/temp
20:33:26 T:1894111176  NOTICE: The executable running is: /system/bin/app_process
20:33:26 T:1894111176  NOTICE: Local hostname: localhost
20:33:26 T:1894111176  NOTICE: Log File is located: /data/data/org.xbmc.xbmc/cache/temp/xbmc.log
20:33:26 T:1894111176  NOTICE: -----------------------------------------------------------------------
20:33:26 T:1894111176  NOTICE: Enumerated AUDIOTRACK devices:
20:33:26 T:1894111176  NOTICE:     Device 1
20:33:26 T:1894111176  NOTICE:         m_deviceName      : AudioTrack
20:33:26 T:1894111176  NOTICE:         m_displayName     : android
20:33:26 T:1894111176  NOTICE:         m_displayNameExtra: audiotrack
20:33:26 T:1894111176  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
20:33:26 T:1894111176  NOTICE:         m_channels        : FL,FR
20:33:26 T:1894111176  NOTICE:         m_sampleRates     : 44100,48000
20:33:26 T:1894111176  NOTICE:         m_dataFormats     : AE_FMT_S16LE,AE_FMT_FLOAT
20:33:26 T:1894111176  NOTICE: load settings...
20:33:26 T:1894111176  NOTICE: special://profile/ is mapped to: special://masterprofile/
20:33:26 T:1894111176  NOTICE: loading special://masterprofile/guisettings.xml
20:33:26 T:1894111176  NOTICE: Getting hardware information now...
20:33:26 T:1894111176    INFO: Using analog output
20:33:26 T:1894111176    INFO: AC3 pass through is enabled
20:33:26 T:1894111176    INFO: DTS pass through is enabled
20:33:26 T:1894111176    INFO: AAC pass through is disabled
20:33:26 T:1894111176  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
20:33:26 T:1894111176   DEBUG: CPlayerCoreConfig::<ctor>: created player DVDPlayer for core 1
20:33:26 T:1894111176   DEBUG: CPlayerCoreConfig::<ctor>: created player oldmplayercore for core 1
20:33:26 T:1894111176   DEBUG: CPlayerCoreConfig::<ctor>: created player PAPlayer for core 3
20:33:26 T:1894111176   DEBUG: CPlayerSelectionRule::Initialize: creating rule: system rules
20:33:26 T:1894111176   DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtv
20:33:26 T:1894111176   DEBUG: CPlayerSelectionRule::Initialize: creating rule: hdhomerun/myth/mms/udp
20:33:26 T:1894111176   DEBUG: CPlayerSelectionRule::Initialize: creating rule: lastfm/shout
20:33:26 T:1894111176   DEBUG: CPlayerSelectionRule::Initialize: creating rule: rtsp
20:33:26 T:1894111176   DEBUG: CPlayerSelectionRule::Initialize: creating rule: streams
20:33:26 T:1894111176   DEBUG: CPlayerSelectionRule::Initialize: creating rule: aacp/sdp
20:33:26 T:1894111176   DEBUG: CPlayerSelectionRule::Initialize: creating rule: mp2
20:33:26 T:1894111176   DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvd
20:33:26 T:1894111176   DEBUG: CPlayerSelectionRule::Initialize: creating rule: dvdimage
20:33:26 T:1894111176   DEBUG: CPlayerSelectionRule::Initialize: creating rule: sdp/asf
20:33:26 T:1894111176   DEBUG: CPlayerSelectionRule::Initialize: creating rule: nsv
20:33:26 T:1894111176   DEBUG: CPlayerSelectionRule::Initialize: creating rule: radio
20:33:26 T:1894111176  NOTICE: Loaded playercorefactory configuration
20:33:26 T:1894111176  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
20:33:26 T:1894111176  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
20:33:26 T:1894111176  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
20:33:26 T:1894111176  NOTICE: Loaded settings file from special://profile/advancedsettings.xml
20:33:26 T:1894111176  NOTICE: Contents of special://profile/advancedsettings.xml are...
                                            <advancedsettings>
                                              <videodatabase>
                                                <type>mysql</type>
                                                <host>192.168.1.102</host>
                                                <port>3306</port>
                                                <user>xbmc</user>
                                                <pass>xbmc</pass>
                                              </videodatabase>
                                              <musicdatabase>
                                                <type>mysql</type>
                                                <host>192.168.1.102</host>
                                                <port>3306</port>
                                                <user>xbmc</user>
                                                <pass>xbmc</pass>
                                              </musicdatabase>
                                              <videolibrary>
                                                <importwatchedstate>true</importwatchedstate>
                                              </videolibrary>
                                              <pathsubstitution>
                                                <substitute>
                                                  <from>special://profile/sources.xml</from>
                                                  <to>SMB://LSERV/xbmc/userdata/sources.xml</to>
                                                </substitute>
                                                <substitute>
                                                  <from>specia://profile/mediasources.xml</from>
                                                  <to>SMB://LSERV/xbmc/userdata/mediasources.xml</to>
                                                </substitute>
                                                <substitute>
                                                  <from>special://profile/addon_data/</from>
                                                  <to>SMB://LSERV/xbmc/userdata/addon_data/</to>
                                                </substitute>
                                                <substitute>
                                                  <from>special://profile/passwords.xml</from>
                                                  <to>SMB://LSERV/xbmc/userdata/passwords.xml</to>
                                                </substitute>
                                              </pathsubstitution>
                                            </advancedsettings>
20:33:26 T:1894111176   DEBUG: Configuring path substitutions
20:33:26 T:1894111176   DEBUG:   Registering substition pair:
20:33:26 T:1894111176   DEBUG:     From: [/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/userdata/sources.xml]
20:33:26 T:1894111176   DEBUG:     To:   [SMB://LSERV/xbmc/userdata/sources.xml]
20:33:26 T:1894111176   DEBUG:   Registering substition pair:
20:33:26 T:1894111176   DEBUG:     From: [specia://profile/mediasources.xml]
20:33:26 T:1894111176   DEBUG:     To:   [SMB://LSERV/xbmc/userdata/mediasources.xml]
20:33:26 T:1894111176   DEBUG:   Registering substition pair:
20:33:26 T:1894111176   DEBUG:     From: [/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/userdata/addon_data/]
20:33:26 T:1894111176   DEBUG:     To:   [SMB://LSERV/xbmc/userdata/addon_data/]
20:33:26 T:1894111176   DEBUG:   Registering substition pair:
20:33:26 T:1894111176   DEBUG:     From: [/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/userdata/passwords.xml]
20:33:26 T:1894111176   DEBUG:     To:   [SMB://LSERV/xbmc/userdata/passwords.xml]
20:33:26 T:1894111176 WARNING: VIDEO database configuration is experimental.
20:33:26 T:1894111176  NOTICE: Getting hardware information now...
20:33:26 T:1894111176    INFO: Using analog output
20:33:26 T:1894111176    INFO: AC3 pass through is enabled
20:33:26 T:1894111176    INFO: DTS pass through is enabled
20:33:26 T:1894111176    INFO: AAC pass through is disabled
20:33:26 T:1894111176  NOTICE: Default DVD Player: dvdplayer
20:33:26 T:1894111176  NOTICE: Default Video Player: dvdplayer
20:33:26 T:1894111176  NOTICE: Default Audio Player: paplayer
20:33:26 T:1894111176  NOTICE: Enabled debug logging due to GUI setting (2)
20:33:26 T:1894111176  NOTICE: Log level changed to 2
20:33:26 T:1894111176  NOTICE: Loading media sources from special://masterprofile/sources.xml
Reply

Logout Mark Read Team Forum Stats Members Help
SMB sharing issue0