Hi flabbaman, your workaround probably does not work any more because it was depending on the previous, incorrect caching of tv show information. Only after the cache expired, manually chaning the language of a TV show worked.
This is still a bug. I spent the evening tracking it down, but have not fully understood it yet. It's withing XBMC itself, though -- when you manually select another language for a TV show folder, the previous scraper information is not cleaned up correctly... I'll post more info if I manage to fix it.
pgit
Junior Member Posts: 6 Joined: Feb 2013 Reputation: 0 |
2013-04-01 23:05
Post: #21
|
| find quote |
flabbamann
Junior Member Posts: 15 Joined: Feb 2013 Reputation: 0 |
2013-04-02 15:40
Post: #22
Hi pgit,
thanks for your answer. please let us know if you have any news on this. |
| find quote |
Tuxon86
Senior Member Posts: 139 Joined: Apr 2010 Reputation: 0 |
2013-04-02 15:53
Post: #23
My workaround concerning this problem is to create one source by language and configure the scrapper for that source accordingly. I have one english source and one french. I also have an anime source that use a different scrapper.
|
| find quote |
pgit
Junior Member Posts: 6 Joined: Feb 2013 Reputation: 0 |
2013-04-02 19:43
Post: #24
@Tuxon86, I do this just the same and think this is the "normal" way to go, and not even a workaround. If you have a source (== directory) for each language, newly added shows are scraped correctly without manual intervention.
|
| find quote |
pgit
Junior Member Posts: 6 Joined: Feb 2013 Reputation: 0 |
Quote:maybe it just ignores my selection and imports what is set as language for the source directory? This is exatly what happens. But it does not happen, as I previously thought, within core XBMC, but can be fixed in the tvdb scraper instead. Have a look at addons/metadata.tvdb.com/tvdb.xml, at around line 144 (as of 1.5.2) Code: <RegExp input="$$2" output="<episodeguide><url cache="$$2-$INFO[language].xml">http://www.thetvdb.com/api/1D62F2F90030C444/series/\1/all/$INFO[language].zip</url></episodeguide>" dest="4+">Here, the following output is generated: <episodeguide cache=12345-de.xml>http://www.thetvdb.com/api/1D62F2F90030C444/series/12345/all/de.zip</episodeguide> This output is parsed by XBMC, and the URL in here is used for scraping individual episodes later. $INFO[language] contains the language configured for this path within scraper settings, as you suspected. The fix is to not use this setting, but the pre-defined scraper URL passed in $$3. Please try replacing the above scraper code with this: Code: <RegExp input="$$3" output="\1" dest="6">This just puts the contents of $$3 within <episodeguide></episodeguide>. For caching, we have to extract the language from the URL before. Please try again with the above changes to tvdb.xml. Please also verify that normal rescanning of your bib still works... |
| find quote |
flabbamann
Junior Member Posts: 15 Joined: Feb 2013 Reputation: 0 |
2013-04-04 15:45
Post: #26
Hi pgit,
with your changes it seems to work just fine! i randomly kicked out some of my tv shows and during the next rescan they are scraped to my lib in german, as this is the setting for the source directory. then I do a manual refresh via "tv show information", select the english entry from the searchresults and get the english information. Great Work, Thank You! |
| find quote |
pgit
Junior Member Posts: 6 Joined: Feb 2013 Reputation: 0 |
2013-04-04 23:04
Post: #27
already pulled for 1.5.3 by olympia, thanx
|
| find quote |

Search
Help