2012-12-30, 16:23
I downloaded XBMC for the first time, and got it working on my Windows 7 PC with no problems. When I was able to play a .iso file with no conversion, I thought it was the coolest thing ever.
Following instructions I found on the web, I set up my Synology NAS to host all my music and video files. This consisted of some setup on the Synology, and then the creation of two files on my PC, in the userdata folder:
1. advancedsettings.xml which contains:
2. sources.xml which contains:
All this was working just fine on my PC. But the main point of all this was to be able to watch videos on my TV. So I bought a Minix Neo x5 and hooked it up. I installed XBMC, put a music file into the local file system, added a link to that folder, and was able to play it with no problems. I found the userdata folder, and copied the advancedsettings.xml and sources.xml files into it. I ran XBMC and went to the video section. It showed me a list of the two subdirectories I have (Video-Movies and Video-Series). But when I clicked on Video-Movies, an error popped up that said "Operation not permitted". I clicked on OK, and another message popped up that said "Could not connect to network sever".
I opened a file explorer application that I have, and navigated to the same folder using SMB. When it prompted me for a username and password, I entered the sames ones that are in the advancedsettings.xml file, and it worked as expected. I was able to see the files, so that is not the problem.
Then I started reading through this forum. The first reply to every post is, "get the log file". On my Windows PC, this is as easy as could be. You just navigate to the right folder, and there it is. On Android, this turned into a complete nightmare. Apparently, the location of the log file can be any one of 3 different locations:
/Android/data/org.xbmc.xbmc/cache/temp/xbmc.log
/sdcard/Android/data/org.xbmc.xbmc/cache/temp/xbmc.log
/data/data/org.xbmc.xbmc/cache/temp/xbmc.log
Since my userfolder was at /Android/data/org.xbmc.xbmc/files/.xbmc/userdata/, I figured my log file would be at /Android/data/org.xbmc.xbmc/cache/temp/xbmc.log, but it's not. There is no "cache" folder inside /Android/data/org.xbmc.xbmc/. I tried to find the other folders, but couldn't find them either. (Yes, I have "show hidden folders" enabled.)
I changed the log level in the advancedsettings.xml file to 1, but it made no difference.
Then I saw a post about using an adb command to get the log file, because the folder it's in is a specially hidden folder. I don't know what that means (obviously, I am not an Android expert), I don't even know how/where I would enter an adb command. (I also don't understand why you would put a log file into a place that is so hard to get to.)
Then I read about XBMC Log Uploader. Seemed like a lot of trouble just to be able to look at a log file, but OK. I got it downloaded, installed it, and configured it with my email address and enabled it. When I went to Programs and ran it, a message came up that just said "Script error: addon.py".
So, I'm pretty much out of ideas. I don't know why there is a problem accessing my media files, and no matter what I do, I can't seem to get a hold of the log file that would help figure it out.
Can anybody offer a suggestion as to how I can proceed?
Thanks
Tom
Following instructions I found on the web, I set up my Synology NAS to host all my music and video files. This consisted of some setup on the Synology, and then the creation of two files on my PC, in the userdata folder:
1. advancedsettings.xml which contains:
Code:
<advancedsettings>
<loglevel>0</loglevel>
<videodatabase>
<type>mysql</type>
<host>192.168.0.197</host>
<port>3306</port>
<user>xbmc</user>
<pass>xxxxxxxx</pass>
<name>xbmc_video</name>
</videodatabase>
<musicdatabase>
<type>mysql</type>
<host>192.168.0.197</host>
<port>3306</port>
<user>xbmc</user>
<pass>xxxxxxxx</pass>
<name>xbmc_music</name>
</musicdatabase>
<pathsubstitution>
<substitute>
<from>special://masterprofile/Thumbnails/</from>
<to>smb://192.168.0.197/media/Thumbnails/</to>
</substitute>
</pathsubstitution>
</advancedsettings>
2. sources.xml which contains:
Code:
<sources>
<programs>
<default pathversion="1"></default>
</programs>
<video>
<default pathversion="1"></default>
<source>
<name>Video-Movies</name>
<path pathversion="1">smb://192.168.0.197/video/Movies/</path>
</source>
<source>
<name>Video-Series</name>
<path pathversion="1">smb://192.168.0.197/video/Series/</path>
</source>
</video>
<music>
<default pathversion="1"></default>
<source>
<name>Music</name>
<path pathversion="1">smb://192.168.0.197/music/</path>
</source>
</music>
<pictures>
<default pathversion="1"></default>
<source>
<name>Photos</name>
<path pathversion="1">smb://192.168.0.197/photo/</path>
</source>
</pictures>
<files>
<default pathversion="1"></default>
</files>
</sources>
All this was working just fine on my PC. But the main point of all this was to be able to watch videos on my TV. So I bought a Minix Neo x5 and hooked it up. I installed XBMC, put a music file into the local file system, added a link to that folder, and was able to play it with no problems. I found the userdata folder, and copied the advancedsettings.xml and sources.xml files into it. I ran XBMC and went to the video section. It showed me a list of the two subdirectories I have (Video-Movies and Video-Series). But when I clicked on Video-Movies, an error popped up that said "Operation not permitted". I clicked on OK, and another message popped up that said "Could not connect to network sever".
I opened a file explorer application that I have, and navigated to the same folder using SMB. When it prompted me for a username and password, I entered the sames ones that are in the advancedsettings.xml file, and it worked as expected. I was able to see the files, so that is not the problem.
Then I started reading through this forum. The first reply to every post is, "get the log file". On my Windows PC, this is as easy as could be. You just navigate to the right folder, and there it is. On Android, this turned into a complete nightmare. Apparently, the location of the log file can be any one of 3 different locations:
/Android/data/org.xbmc.xbmc/cache/temp/xbmc.log
/sdcard/Android/data/org.xbmc.xbmc/cache/temp/xbmc.log
/data/data/org.xbmc.xbmc/cache/temp/xbmc.log
Since my userfolder was at /Android/data/org.xbmc.xbmc/files/.xbmc/userdata/, I figured my log file would be at /Android/data/org.xbmc.xbmc/cache/temp/xbmc.log, but it's not. There is no "cache" folder inside /Android/data/org.xbmc.xbmc/. I tried to find the other folders, but couldn't find them either. (Yes, I have "show hidden folders" enabled.)
I changed the log level in the advancedsettings.xml file to 1, but it made no difference.
Then I saw a post about using an adb command to get the log file, because the folder it's in is a specially hidden folder. I don't know what that means (obviously, I am not an Android expert), I don't even know how/where I would enter an adb command. (I also don't understand why you would put a log file into a place that is so hard to get to.)
Then I read about XBMC Log Uploader. Seemed like a lot of trouble just to be able to look at a log file, but OK. I got it downloaded, installed it, and configured it with my email address and enabled it. When I went to Programs and ran it, a message came up that just said "Script error: addon.py".
So, I'm pretty much out of ideas. I don't know why there is a problem accessing my media files, and no matter what I do, I can't seem to get a hold of the log file that would help figure it out.
Can anybody offer a suggestion as to how I can proceed?
Thanks
Tom