2011-07-30, 01:06
ok I renamed them but I get an error in XBMC that it says it can't play the file(yes I updated the library) I am using playon if that helps
yonu Wrote:Very Dumb question
I used the netflix template in the userguide and it reads my queue but I endup with a folder full of mpg files that XBMC says it can't load. What did I miss and what do I need to post inorder to get help
plugin://plugin.video.icefilms/?url=http%3A%2F%2Fwww.icefilms.info%2Fip.php%3Fv%3D109700%26&mode=400&name=Grown+Ups+%282010%29
07/30/2011 09:15:44 em INFO ContentScan Querying JSON-RPC interface for all videos in library.
07/30/2011 09:15:53 em WARNING ContentScan The response from XBMC is not a valid JSON string:
{
"id" : "1",
"jsonrpc" : "2.0",
"result" : {
"end" : 11724,
"movies" : [
{
"fanart" : "special://masterprofile/Thumbnails/Video/Fanart/db7441f0.tbn",
"file" : "C:\\dropbox\\Movies\\500 Days of Summer (2009) HD.strm",
"label" : "(500) Days of Summer",
"movieid" : 1,
"thumbnail" : "special://masterprofile/Thumbnails/Video/d/db7441f0.tbn"
},
{
"fanart" : "special://masterprofile/Thumbnails/Video/Fanart/fa92ccc9.tbn",
"file" : "C:\\dropbox\\Movies\\District 9 (2009) HD.strm",
"label" : "District 9",
"movieid" : 2,
"thumbnail" : "special://masterprofile/Thumbnails/Video/f/fa92ccc9.tbn"
},
... (more movies goes here)
{
"fanart" : "special://masterprofile/Thumbnails/Video/Fanart/3f84684a.tbn",
"file" : "C:\\dropbox\\Movies\\The Morgue (2008).mpg",
"label" : "The Morgue",
"movieid" : 7115
},
{
"fan
07/30/2011 09:16:07 em WARNING ContentScan JSON Returned was not valid (attempt 1 of 3), will try again...
07/30/2011 09:16:09 em WARNING ContentScan The response from XBMC is not a valid JSON string:
07/30/2011 09:16:09 em WARNING ContentScan JSON Returned was not valid (attempt 2 of 3), will try again...
07/30/2011 09:16:29 em INFO ContentScan JSON was successfully retrieved after attempt #3
07/30/2011 09:16:29 em INFO ContentScan No TV Shows found in XBMC's library for this series: {"id":"1","result":{"total":0,"start":0,"end":0},"jsonrpc":"2.0"}
07/30/2011 09:16:29 em WARNING ContentScan No TV Shows/Series/Episodes were found in XBMC's library...
07/30/2011 09:16:29 em INFO ContentScan No music videos were found in XBMC's library.
07/30/2011 09:16:29 em INFO ContentScan Found 11724 unique files in video library (11724 movies, 0 episodes, 0 music videos)
07/30/2011 09:16:29 em NOTICE ContentScan 11724 videos found in library. (Previous count was 11724, a change of 0)
07/30/2011 09:16:29 em NOTICE ContentScan Since no more videos were added in the last 2.0 minutes, continuing on...
<Hulu path="plugin://plugin.video.hulu">
<subfolder name="Queue" suffix=" (Hulu)" movie_set=" Streaming"/>
</Hulu>
08/06/2011 07:34:03 AM INFO Find:Subfolder Searching for subfolder: Hulu/Queue
08/06/2011 07:34:04 AM NOTICE Found! Hulu's subfolder "Hulu/Queue" maps to source: plugin://plugin.video.hulu/?url="http%3A%2F%2Fm.hulu.com%2Fmenu%2Fhd_user_queue"&mode="Queue"&name="Queue"&page="1"&perpage="2000"&popular="false"&updatelisting="false" (Hulu/Queue)
08/06/2011 07:34:04 AM INFO Search:Hulu Found 89 videos that are already archived in dropbox from source "Hulu"
08/06/2011 07:34:04 AM NOTICE Search:Hulu Finding all matching videos under subfolder: Hulu/Queue
08/06/2011 07:34:04 AM NOTICE Search:Hulu Done retrieving files from JSON-RPC for subfolder: Hulu/Queue
08/06/2011 07:34:04 AM INFO Archive:Skip SKIPPING: This video source type was not specified (type="auto_determine_type") or is not yet supported: Hulu/Queue/Burn Notice - 5x3 - Mind Games
08/06/2011 07:34:04 AM WARNING Archiving Cannot be archived: series=null, title=null, season=-1, episode=-1
Hulu/Queue/Burn Notice - 5x3 - Mind Games
pkscuot Wrote:it's worth understanding the process this script uses to get things working, it helps with issues like this. Here goes my try.Yes, that's pretty good overview of what this script does. XBMC doesn't allow scraping of .strm files (TV Episodes are allowed, strangely), so that's why they need to be .mpg's first. It it a bit Rube Goldberg, but usually works.
1- the script scans your Netflix queue and creates a stub file with a .mpg extension for each movie (or TV show episode) it finds. That mpg file isn't playable, but it has to be a mpg file in order for step 2 to work.
2- the script then triggers an XBMC library update. That process attempts to scan the directory with those fake mpg files and loads them into XBMC based on the scraper you have set. If the scraper can't figure out what movie is associated with the file XBMC won't load it.
3- the script then figures out what items got loaded in step 2 and renames the items to .strm files (which will play properly). It also does some magic in the XBMC database to associate the old mob entry with the newly named .strm file.
The most common problem I have is that the scraper can't figure out the movie based on it's name. My solution there is to create a .nfo file that contains only the link to the right entry in the moviedb database and put it in the same directory as the movie with the same name (but with .nfo file extension). Then I rerun the script and everything tends to work.
Batch Wrote:I figured out a solution for IceFilms to have their movies in the database without hammering their servers. I did some script modifications and keep the link to the page containing the links to the different mirrors instead of the mirrors themselves.This looks great. I don't care if you hacked the code; it's the IceFilms community that gets crabby. Hopefully you can help in getting this working for all of us as well. I'm probably just going to release this on SVN, since that's what it's currently using. I've been toying with the idea of converting it to GIT, but don't have the time. Check back on this thread for more info soon (hopefully).
(I also did a minor hack to be able to use XBMC.MyLibrary with IceFIlms but I hope you don't mind since I'm avoiding to spam HTTP requests...)
Grown Ups (2010).strm:
Code:plugin://plugin.video.icefilms/?url=http%3A%2F%2Fwww.icefilms.info%2Fip.php%3Fv%3D109700%26&mode=400&name=Grown+Ups+%282010%29
When selecting a movie the script scrapes the movies page at IceFilms and let me choose what quality and mirror I want to use.
I tracked all traffic with Wireshark to be sure I didn't accidently hammer IceFilms server. When I filled my library (11639 movies) the script only did about one page request every 5 minutes from IceFilms.info since it only needed to load the pages listing the movies in alphabetic order.
Everything works quite good but I got a few problems:
1) I would like to skip the phase where old movies are deleted. Because the library is as big as it is I'm only scraping all movies once. The scrapes after that first scrape only scrapes the movies found on the "recent movies" page. I fixed this by setting the HoursThreshold really high but it would be better if I just could turn it off.
2) Problems seem to occur when the database gets to big.
Code:07/30/2011 09:15:44 em INFO ContentScan Querying JSON-RPC interface for all videos in library.
07/30/2011 09:15:53 em WARNING ContentScan The response from XBMC is not a valid JSON string:
{
"id" : "1",
.....
pkscuot Wrote:Now that Bluecop's Hulu plugin is working again, I've switched back over to using to as my Hulu source rather than PlayOn. To make my configuration simpler, I have XBMC.MyLibrary look at my Hulu Queue to figure out what to add to my library. My queue has both movies and TV Shows in it.How did you get BlueCop's Hulu to work... did you have to do anything special? It's still not working for me.
Given that, here's the config I'm trying use:
Set that way I get the following error:Code:<Hulu path="plugin://plugin.video.hulu">
<subfolder name="Queue" suffix=" (Hulu)" movie_set=" Streaming"/>
</Hulu>
If I add type="episodes" to the config, it works fine, except that it can't add the movies anymore. This same config worked when I was using PlayOn, so I'm wondering if there is anything I can do to have my Hulu queue parsed for both movies and episodes again.Code:08/06/2011 07:34:03 AM INFO Find:Subfolder Searching for subfolder: Hulu/Queue
08/06/2011 07:34:04 AM NOTICE Found! Hulu's subfolder "Hulu/Queue" maps to source: plugin://plugin.video.hulu/?url="http%3A%2F%2Fm.hulu.com%2Fmenu%2Fhd_user_queue"&mode="Queue"&name="Queue"&page="1"&perpage="2000"&popular="false"&updatelisting="false" (Hulu/Queue)
08/06/2011 07:34:04 AM INFO Search:Hulu Found 89 videos that are already archived in dropbox from source "Hulu"
08/06/2011 07:34:04 AM NOTICE Search:Hulu Finding all matching videos under subfolder: Hulu/Queue
08/06/2011 07:34:04 AM NOTICE Search:Hulu Done retrieving files from JSON-RPC for subfolder: Hulu/Queue
08/06/2011 07:34:04 AM INFO Archive:Skip SKIPPING: This video source type was not specified (type="auto_determine_type") or is not yet supported: Hulu/Queue/Burn Notice - 5x3 - Mind Games
08/06/2011 07:34:04 AM WARNING Archiving Cannot be archived: series=null, title=null, season=-1, episode=-1
Hulu/Queue/Burn Notice - 5x3 - Mind Games
Thanks.
matmabro Wrote:@BatchThere should be no need to decompile once i release it, but there will be a need for some unlucky soul to clean up the code, since is wrote it in a furious few nights
So how'd you get icefilms working? I was looking at the code and it looks like it would be pretty easy to uncomplie edit and recompile to get icefilms back, but I don't want to hammer their servers and piss anyone off especially considering the recent downtime they've had over the weekend.
I've just started playing with this 2 nights ago and I'm currently stuck with mpg files, but all the popular hulu shows are in my library... I think I should be able to fix by moving my dropbox folder, but I haven't tried that yet.
@bradvido
This is a great little script you wrote. looking forawrd to you releasing it to the community. From what I can tell, it doesn't seem like it should be too hard to turn this into an add-on, I mean mostly you are just editing the XML document then launching the script.
bradvido88 Wrote:How did you get BlueCop's Hulu to work... did you have to do anything special? It's still not working for me.
The issue you are running into is that the PlayOn custom parsing I wrote is better than the parsing for BlueCop's plugin... This can be fixed, but will take time and effort. Hopefully this can be crowd-sourced when I post the public SVN.
bradvido88 Wrote:OK, show me what you guys can do: http://code.google.com/p/xbmc-mylibrary/Great, will look at this tomorrow.
matmabro Wrote:@BatchNow when the source code is released I see no harm in telling how I did it.
So how'd you get icefilms working? I was looking at the code and it looks like it would be pretty easy to uncomplie edit and recompile to get icefilms back, but I don't want to hammer their servers and piss anyone off especially considering the recent downtime they've had over the weekend.
Batch Wrote:Now when the source code is released I see no harm in telling how I did it.The thing is that my script never connects to IceFilms. It only calls the native XBMC plugin for IceFilms, which in turn talk to the IceFilms servers...
I didn't need to decompile the jar-file. I just opened it up in a text editor and replaced all occurances of "Icefilms" to "Acefilms".
If you are unsure whatever or not you are hammering their servers then you should probably avoid experimenting with Icefilms since it will get you banned.