Unable to add files to library after following naming convetions
#1
Hi
I am not able to add media files to my library in XBMC. Even after adding sources it appears empty. I follow naming convention as :
TV Series\30 Rock\Season 1\101.avi

I have added advancedsettings.xml file in my userdata folder :
Code:
<advancedsettings>
    <tvshowmatching>
    <regexp>Season[\._ ]([0-9]+)[\\/]([0-9]+)[^\\/]*</regexp>
    </tvshowmatching>
</advancedsettings>

I add the TV series folder in sources and select the recursive and auto scan option and tvdb as scraper. It shows some retrieving info dialog and when it completes my library is still empty. Even in files mode when i press info button it asks me the Tv show name again and again.
Even log file in my userdata folder doesnt have any useful info related to that. I have a 24x7 internet connection behind a proxy which i configured in xbmc.

can someone help me solve my problem.

thanks,
krish
Reply
#2
Get rid of that regexp (which is wrong) from advancedsettings.xml for a start.

One presumes your proxy is working OK - proxies with other than basic authentication may not function using XBMC's built-in proxy stuff. If you get the RSS feed or weather then that's fine.

Otherwise, Debug Log while attempting to scan.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
jmarshall Wrote:Get rid of that regexp (which is wrong) from advancedsettings.xml for a start.

One presumes your proxy is working OK - proxies with other than basic authentication may not function using XBMC's built-in proxy stuff. If you get the RSS feed or weather then that's fine.

Otherwise, Debug Log while attempting to scan.

Cheers,
Jonathan

I removed the regexp from advancedsettings.xml file but still no update in the library. I'll appreciate if you can you tell me the correct regexp based on the structure I have.
<Show Name>/Season 1/101.avi

Also where should I look for debug log. Do I have to turn on some debug switch to see it.

Also since my plugin AppleMovietrailers works, I guess my proxy settings are OK.

krish
Reply
#4
XBMC ignores season folders as far as I'm aware so it can't tell if 101 is season 1 episode 01 or season 10 episode 1.
Reply
#5
Hitcher Wrote:XBMC ignores season folders as far as I'm aware so it can't tell if 101 is season 1 episode 01 or season 10 episode 1.

I do agree with you. I just need the correct regexp that I can add to my advancedsettings.xml for scrapers to work.

krish
Reply
#6
krish1985 Wrote:I do agree with you. I just need the correct regexp that I can add to my advancedsettings.xml for scrapers to work.

krish

Or you could rename your files...

Nah, that's way to obvious.
Reply
#7
natethomas Wrote:Or you could rename your files...

Nah, that's way to obvious.

Since I have around 200 files, it wont be possible for me to rename all files.
krish
Reply
#8
Renaming is for the weak Tongue

try this:

season[._ ]?(\d{1,2})[\\/]\1(\d{2})([^\\/])*

also make sure advancedsettings.xml is named exactly that case sensitive
Having problems getting your TV shows recognized?

Try my extra TV show matching REGEX here
Reply
#9
I've sorta got the same problem. On most of my TV shows it shows nothing for episodes. Even when I go to refreash, it starts, then stops at 4% and will hang there forever unless I turn XBMC off. I am pretty new to this so the original poster knows more about this then I do I am sure. My files are like this:

TV Shows/battlestar galactica/battlestar galactica season 1/battlestar galactica S01E01

I can play everything one my drive, I just have to do it with the files and not the slick interface of XBMC. I hate tagging onto anothers post, but maybe I have a similar problem. Maybe not though.
Reply
#10
Not only the TV Series but even for the movies XBMC doesnt add it to the library.
My Movies structure is like:
Movies/<Movie Name>\CD1.avi
\CD2.avi

Also on the weather settings when I go to the enter city name dialog(virtual keyboard), after entering the name it doesnt change.
I could think of some problem with some network settings, but since the AppleMovieTrailers works, I guess my network settings are OK.

krish
Reply
#11
xexe Wrote:Renaming is for the weak Tongue

try this:

season[._ ]?(\d{1,2})[\\/]\1(\d{2})([^\\/])*

also make sure advancedsettings.xml is named exactly that case sensitive

I tried, went to movies source and clicked the scan for new content in context menu, still my library is empty.

Also, I could not follow when I press info button on a specific movie folder in files mode, enter movie name dialog appears again and again.

krish
Reply
#12
please:

1. post your advancedsettings.xml
2. check the xbmc log to make sure it is loading this specifc advancedsettings.xml
Having problems getting your TV shows recognized?

Try my extra TV show matching REGEX here
Reply
#13
xexe Wrote:please:

1. post your advancedsettings.xml
2. check the xbmc log to make sure it is loading this specifc advancedsettings.xml

Here is my advancedsettings.xml file:
Code:
<advancedsettings>
  <tvshowmatching>
  <regexp>season[._ ]?(\d{1,2})[\\/]\1(\d{2})([^\\/])*</regexp>
  </tvshowmatching>
</advancedsettings>
Also, my log file is showing lot of errors:
Code:
19:58:38 T:3052 M:4294967295  NOTICE: Starting XBMC, Platform: Windows  Service Pack 2 build 3790.  Built on Nov 13 2008 (compiler 1500)
19:58:38 T:3052 M:4294967295  NOTICE: Intel(R) Xeon(R) CPU           E5405  @ 2.00GHz
19:58:38 T:3052 M:4294967295  NOTICE: Desktop Resolution: 1280x1024 32Bit at 60Hz
19:58:38 T:3052 M:4294967295  NOTICE: Q is mapped to: C:\Program Files (x86)\XBMC
19:58:38 T:3052 M:4294967295  NOTICE: The executable running is: C:\Program Files (x86)\XBMC\XBMC.exe
19:58:38 T:3052 M:4294967295  NOTICE: Log File is located: C:\Program Files (x86)\XBMC\xbmc.log
19:58:38 T:3052 M:4294967295  NOTICE: -----------------------------------------------------------------------
19:58:38 T:3052 M:4294967295  NOTICE: Setup SDL
19:58:38 T:3052 M:4294967295  NOTICE: load settings...
19:58:38 T:3052 M:4294967295  NOTICE: Mapping drive P to C:\Program Files (x86)\XBMC\userdata
19:58:38 T:3052 M:4294967295  NOTICE: loading C:\Program Files (x86)\XBMC\userdata\guisettings.xml
19:58:38 T:3052 M:4294967295  NOTICE: Getting hardware information now...
19:58:38 T:3052 M:4294967295  NOTICE: Checking resolution 10
19:58:38 T:3052 M:4294967295  NOTICE: Setting autoresolution mode 3
19:58:38 T:3052 M:4294967295  NOTICE: Loaded advancedsettings.xml from C:\Program Files (x86)\XBMC\userdata\advancedsettings.xml
19:58:38 T:3052 M:4294967295  NOTICE: Getting hardware information now...
19:58:38 T:3052 M:4294967295  NOTICE: Checking resolution 10
19:58:38 T:3052 M:4294967295  NOTICE: Setting autoresolution mode 3
19:58:38 T:3052 M:4294967295  NOTICE: C:\Program Files (x86)\XBMC\userdata\sources.xml
19:58:38 T:3052 M:4294967295   ERROR:     Missing or invalid <name> and/or <path> in source
19:58:39 T:3052 M:4294967295  NOTICE: start dvd mediatype detection
19:58:39 T:3052 M:4294967295  NOTICE: initializing playlistplayer
19:58:39 T:3052 M:4294967295  NOTICE: DONE initializing playlistplayer
19:58:39 T:3052 M:4294967295  NOTICE: load default skin:[MediaStream]
19:58:39 T:3052 M:4294967295   ERROR: Window Translator: Can't find window settingscategory
19:58:39 T:3052 M:4294967295   ERROR: Error evaluating boolean expression !Window.Previous(0) + !Window.Previous(SettingsCategory) + !Window.Previous(1001) + !Window.Previous(130) + !Window.Previous(34)
19:58:39 T:4520 M:4294967295   ERROR: Unable to connect to xoap.weather.com: 10049
19:58:39 T:4520 M:4294967295   ERROR: WEATHER: Weather download failed!
19:58:39 T:3052 M:4294967295  NOTICE: Updating video library on startup
19:58:39 T:4376 M:4294967295   ERROR: Unable to connect to www.google.com: 10049
19:58:39 T:4376 M:4294967295   ERROR: Unable to connect to 74.125.19.103: 10049
19:58:39 T:3052 M:4294967295  NOTICE: initialize done
19:58:39 T:3052 M:4294967295  NOTICE: Running the application...
19:58:39 T:3052 M:4294967295  NOTICE: ES: Starting event server
19:58:39 T:4164 M:4294967295  NOTICE: ES: Starting UDP Event server on 127.0.0.1:9777
19:58:39 T:4164 M:4294967295  NOTICE: UDP: Listening on port 9777
19:58:39 T:4480 M:4294967295   ERROR: SQLite: SQL error or missing database
                             Query: select count(1) from musicvideo
19:58:39 T:4480 M:4294967295   ERROR: CVideoDatabase::HasContent failed
19:58:39 T:4480 M:4294967295   ERROR: SQLite: SQL error or missing database
                             Query: select count(1) from musicvideo
19:58:39 T:4480 M:4294967295   ERROR: CVideoDatabase::HasContent failed
19:58:39 T:4480 M:4294967295   ERROR: Unable to connect to www.thetvdb.com: 10049
19:58:40 T:4480 M:4294967295   ERROR: Unable to connect to www.thetvdb.com: 10049
19:58:40 T:1928 M:4294967295   ERROR: Unable to connect to feeds.feedburner.com: 10049
19:58:40 T:1928 M:4294967295   ERROR: Unable to connect to feeds.feedburner.com: 10049
19:58:40 T:1928 M:4294967295   ERROR: Unable to connect to feeds.feedburner.com: 10049
19:58:41 T:4480 M:4294967295 WARNING: XFILE::CFileCurl::CReadState::ReadString - Transfer ended before entire file was retreived pos 27648, size 0
Reply
#14
It looks like XBMC isn't finding an internet connection. You might want to try the Babylon Alpha build.
Reply
#15
xanadu1979 Wrote:It looks like XBMC isn't finding an internet connection. You might want to try the Babylon Alpha build.

Thanks, that worked for me . thanks a lot
Reply

Logout Mark Read Team Forum Stats Members Help
Unable to add files to library after following naming convetions0