2010-01-18, 20:58
Awesome script. Perhaps one of you guys can help me with some issues I've had with the settings.
I'm having some trouble setting a manual path for trailers. I'll detail my efforts here and see if anyone can tell me what I'm doing wrong. I've read through all (yes all 44 pages) of this thread, and have seen a few people posting similar issues, but could not discern a solution from the responses. If anyone's figured it out, please let me know what you did.
My goal:
Have 50-100 Trailers downloaded to "T:\Trailers\" and have the Home Theater Experience Script load them from there.
Movie Settings:
Movie Trailers = 1
Coming Attractions intro = N/A
Coming Attractions outro = N/A
Trailer Play Mode = Stream
Trailer Scraper = Local Folder
Folder = T:\Trailers\
With these settings, nothing plays.
After checking the log I get the following:
Let me preface this by saying: Python is not my language of choice. Below is just speculation and me talking out of my ass mostly, But I'll include it in case it can save anyone a few steps.
So I took a quick look at the "scraper.py" file. I can't find where "trailer_path" is defined, there or in the accompanying files. I do see several references to "trailer_folder" in the "settings.xml". "trailer_folder" seems to contain the drive letter as well, so it is a full path from what I can tell. Initially thinking is was just a goof with a variable name (something I've certainly been guilty of my self), I changed it to "trailer_folder".
This seemed to have an effect, as now the movie plays with the above settings, but it skips the trailer. The debug log comes back clean with that change, but no trailers means we're not there quite yet.
I've double checked my trailer naming, and they do have the "-trailer" appended to them.
I understand that "T:\" was reserved for the xbox version, so I changed the drive letter to "R:\" to see if there was anything going on with that. But I see no difference.
If anyone needs more info, I'll take screen shots or or cap a short video of what I'm doing. Thanks for taking the time to read this, I hope it will generate some responses. In the mean time, I'll try and take a crash course in python (I've a book on it laying around here somewhere) and see if I can't find out more about the nature of this issue. If I find anything, I'll edit my post with the solution.
Thanks.
I'm having some trouble setting a manual path for trailers. I'll detail my efforts here and see if anyone can tell me what I'm doing wrong. I've read through all (yes all 44 pages) of this thread, and have seen a few people posting similar issues, but could not discern a solution from the responses. If anyone's figured it out, please let me know what you did.
My goal:
Have 50-100 Trailers downloaded to "T:\Trailers\" and have the Home Theater Experience Script load them from there.
Movie Settings:
Movie Trailers = 1
Coming Attractions intro = N/A
Coming Attractions outro = N/A
Trailer Play Mode = Stream
Trailer Scraper = Local Folder
Folder = T:\Trailers\
With these settings, nothing plays.
After checking the log I get the following:
Code:
Traceback(most recent call last):
FILE "C:\Users\Username\AppData\Roaming\XBMC\scripts\Home Theater Experience\resources\lib\xbmcscript_player.py", Line 55, in _init_mpaa = self._create_playlist()
FILE "C:\Users\Username\AppData\Roaming\XBMC\scripts\Home Theater Experience\resources\lib\xbmcscript_player.py", Line 133, in _create_playlist movie=movie
FILE "C:\Users\Username\AppData\Roaming\XBMC\scripts\Home Theater Experience\resources\lib\xbmcscript_player.py", Line 320, in _get_trailers trailers=Scraper.fetch_trailers()
FILE "C:\Users\Username\AppData\Roaming\XBMC\scripts\Home Theater Experience\resources\lib\scraper.py", Line 27, in fetch_trailers
KeyError: 'trailer_path'
Let me preface this by saying: Python is not my language of choice. Below is just speculation and me talking out of my ass mostly, But I'll include it in case it can save anyone a few steps.
So I took a quick look at the "scraper.py" file. I can't find where "trailer_path" is defined, there or in the accompanying files. I do see several references to "trailer_folder" in the "settings.xml". "trailer_folder" seems to contain the drive letter as well, so it is a full path from what I can tell. Initially thinking is was just a goof with a variable name (something I've certainly been guilty of my self), I changed it to "trailer_folder".
This seemed to have an effect, as now the movie plays with the above settings, but it skips the trailer. The debug log comes back clean with that change, but no trailers means we're not there quite yet.
I've double checked my trailer naming, and they do have the "-trailer" appended to them.
I understand that "T:\" was reserved for the xbox version, so I changed the drive letter to "R:\" to see if there was anything going on with that. But I see no difference.
If anyone needs more info, I'll take screen shots or or cap a short video of what I'm doing. Thanks for taking the time to read this, I hope it will generate some responses. In the mean time, I'll try and take a crash course in python (I've a book on it laying around here somewhere) and see if I can't find out more about the nature of this issue. If I find anything, I'll edit my post with the solution.
Thanks.