Page 1 of 3

Free Movie Fans

PostPosted: Wed Jan 30, 2013 10:09 am
by r-win
A webresource plugin for Free Movie Fans.

This plugin will extract all items on the site for a specified category. Just use the URL of a category (or the home page) and use that. Paging is supported, so you can also start on a different page than the first. The plugin will automatically download consequent pages until the amount of items specified in the console is reached.

Valid urls (e.g.):
http://www.fmovief.com
http://www.fmovief.com/category/3/Animation

Changelog:
Version 1.2:
- Added some log messages
- Changed maxItems to be 50 if set to 0

Version 1.1:
- Added support for year and search
- Added support for a custom amount of items using argument maxItems=xx

Note: This plugin will set the movies as being played live. Scrubbing is not supported, since the site itself also uses a ?start= argument instead of byte ranges. Therefore, ffmpeg is unable to start the movie at a different offset.
Note 2: The site only prints the release year, this plugin will show a release date of Februari 1st, for the specified year.

Edit: Plugin was taken offline for now. I think the site blocks abusive ip addresses. For the people still interested, check my github repository.

Re: Free Movie Fans

PostPosted: Wed Jan 30, 2013 8:45 pm
by Kryptyx
I can't seem to get this to work. I set it up just as you have stated.
Thanks for making this btw!

Re: Free Movie Fans

PostPosted: Wed Jan 30, 2013 9:52 pm
by bikergrove
Or me ?
  Code:
2013-01-30 21:49:58,668 WARN  [FeedUpdaterThread] An error occured while scanning for online item information, will continue
java.io.IOException: Cannot parse resource from http://www.fmovief.com/. Message: No plugin for web resource http://www.fmovief.com/ has been found.
   at org.serviio.library.online.OnlineLibraryManager.findResource(OnlineLibraryManager.java:179)
   at org.serviio.library.online.OnlineLibraryManager.findResourceInCacheOrParse(OnlineLibraryManager.java:186)
   at org.serviio.library.online.metadata.FeedUpdaterThread.getOnlineItems(FeedUpdaterThread.java:159)
   at org.serviio.library.online.metadata.FeedUpdaterThread.run(FeedUpdaterThread.java:96)
2013-01-30 21:50:02,938 WARN  [PluginCompilerThread] Plugin FreeMovieFan.groovy failed to compile: startup failed:
C:\Program Files\Serviio\plugins\FreeMovieFan.groovy: 243: unexpected token:  @ line 243, column 1.
1 error

2013-01-30 21:50:12,946 WARN  [PluginCompilerThread] Plugin FreeMovieFan.groovy failed to compile: startup failed:
C:\Program Files\Serviio\plugins\FreeMovieFan.groovy: 243: unexpected token:  @ line 243, column 1.
1 error

2013-01-30 21:50:22,954 WARN  [PluginCompilerThread] Plugin FreeMovieFan.groovy failed to compile: startup failed:
C:\Program Files\Serviio\plugins\FreeMovieFan.groovy: 243: unexpected token:  @ line 243, column 1.
1 error

2013-01-30 21:50:32,961 WARN  [PluginCompilerThread] Plugin FreeMovieFan.groovy failed to compile: startup failed:
C:\Program Files\Serviio\plugins\FreeMovieFan.groovy: 243: unexpected token:  @ line 243, column 1.
1 error

2013-01-30 21:50:42,970 WARN  [PluginCompilerThread] Plugin FreeMovieFan.groovy failed to compile: startup failed:
C:\Program Files\Serviio\plugins\FreeMovieFan.groovy: 243: unexpected token:  @ line 243, column 1.
1 error

Re: Free Movie Fans

PostPosted: Thu Jan 31, 2013 12:55 pm
by r-win
Out of curiousity, I hope you guys got the file contents from here: https://raw.github.com/r-win/serviio-pl ... Fan.groovy

I see in the log that you've got an unexpected character at line 243, which is interesting. Especially since the file only has 203 lines!!!

Let me attach the groovy also to this post, and make sure you add the URL as Other Web Resource.

Re: Free Movie Fans

PostPosted: Thu Jan 31, 2013 5:21 pm
by Iveky
could you take a look at:

http://dokumentarnifilmovi.net


Is it possible to make plugin to browse those movies?
If yes, any hint where (how and which one) to start modifing existing plugin?

Re: Free Movie Fans

PostPosted: Thu Jan 31, 2013 9:47 pm
by Kryptyx
Same problem. I confirmed I had the same file. I added it as "Web Resource" and the url I used was "http://www.fmovief.com" I also tried other pages which don't seem to work. It just tells me no content available.

Re: Free Movie Fans

PostPosted: Fri Feb 01, 2013 9:26 am
by r-win
Kryptyx wrote:the url I used was "http://www.fmovief.com" .

Well, can you check the logfile for any related loglines? The plugin itself doesn't log anything yet, but I can easily create a logging version if required. I can only say that this plugin works on my system, and that I've watched a movie with it yesterday (from the animation category).

Now we only have to find out why it doesn't work on yours...

Re: Free Movie Fans

PostPosted: Fri Feb 01, 2013 10:29 am
by Reonmac
Hey, this works brilliantly for me....thanks for creating this groovy file and discovering a great little website.

Any chance of giving examples of a URL if I want to search the movies in the Recommend section, or the Hot section or the Random section?
Also the same if I only want to search on movies in 2013.

Thanks mate

Re: Free Movie Fans

PostPosted: Fri Feb 01, 2013 11:17 am
by r-win
Reonmac wrote:Any chance of giving examples of a URL if I want to search the movies in the Recommend section, or the Hot section or the Random section?
Also the same if I only want to search on movies in 2013.

You can just use the site, and copy the URL with what you want. For instance, click 2012 on the right side under Archives will give you the URL: http://www.fmovief.com/year/2012.
Searching for a movie in a certain section is not possible. The site doesn't have an interface for that.

Re: Free Movie Fans

PostPosted: Fri Feb 01, 2013 6:20 pm
by bikergrove
Mine is the same for some reason?

Kryptyx wrote:Same problem. I confirmed I had the same file. I added it as "Web Resource" and the url I used was "http://www.fmovief.com" I also tried other pages which don't seem to work. It just tells me no content available.

Re: Free Movie Fans

PostPosted: Fri Feb 01, 2013 7:41 pm
by r-win
bikergrove wrote:Mine is the same for some reason?

Kryptyx wrote:Same problem. I confirmed I had the same file. I added it as "Web Resource" and the url I used was "http://www.fmovief.com" I also tried other pages which don't seem to work. It just tells me no content available.

Both of you don't see this line in the serviio.log file?

  Code:
2013-02-01 20:40:23,945 INFO  [PluginCompilerThread] Added Web Resouce plugin Free Movie Fan (FreeMovieFan.groovy), version: 11

Re: Free Movie Fans

PostPosted: Fri Feb 01, 2013 7:48 pm
by bikergrove
yes I see it in my log

  Code:
2013-02-01 18:15:33,373 INFO  [PluginCompilerThread] Added Web Resouce plugin Free Movie Fan (FreeMovieFan.groovy), version: 11

Re: Free Movie Fans

PostPosted: Fri Feb 01, 2013 8:22 pm
by bikergrove
Here is a detailed log
Removed

Re: Free Movie Fans

PostPosted: Sat Feb 02, 2013 1:50 pm
by r-win
Alright, I may have messed up there. I think you have set the amount of items to retrieve to unlimited? In that case, the plugin will not retrieve a thing. Unlimited is specified as -1, and I forgot to "fix" that...

At the moment, the maximum number of items this plugin will retrieve is 50. You can still specify the maximum numbers of items to retrieve with a maxItems argument added to the URL.

Anyway, update to the latest version, and see if that works.

Re: Free Movie Fans

PostPosted: Sat Feb 02, 2013 3:10 pm
by bikergrove
yeah that works Thanks for this one its one of the best :D

Re: Free Movie Fans

PostPosted: Sat Feb 02, 2013 4:03 pm
by martyn
play back not available Image its showing all the films just wont play em Image

Re: Free Movie Fans

PostPosted: Sat Feb 02, 2013 7:19 pm
by r-win
martyn wrote:play back not available Image its showing all the films just wont play em Image

Then enable debug logging and attach the relevant lines (or use http://pastie.org)

Re: Free Movie Fans

PostPosted: Sun Feb 03, 2013 4:53 pm
by jshg46
I added maxItems=50 to my url but it is doing nothing. Is it possible for you to give us an example url with maxItems to make sure we are doing this correct?

Re: Free Movie Fans

PostPosted: Sun Feb 03, 2013 6:54 pm
by r-win
jshg46 wrote:I added maxItems=50 to my url but it is doing nothing. Is it possible for you to give us an example url with maxItems to make sure we are doing this correct?


http://www.fmovief.com?maxItems=50
or
http://www.fmovief.com/search.php?type= ... axItems=50

But remember, if you set the amount of items to retrieve in the Serviio Console to unlimited, it will default to 50. If you set that value to something lower than the maxItems argument, it will ignore the maxItems argument (you can never retrieve more items than you've specified in the console).

Re: Free Movie Fans

PostPosted: Mon Feb 04, 2013 12:24 am
by atc98092
I also am having difficulty with this plug-in. It shows the available movies, but of the 8 or so that I've tried only one would play (Cowboys & Aliens). I tried Men in Black 3, and some others. Attached is a log with debug enabled. I looked through it, but don't understand enough about streaming and transcoding to know what the issue might be. I stripped out (for size reasons) all the startup and checking my local library lines. With a 500k limit on attachments, I had to do something, and I doubt there's anything in that initial stuff that matters.

This looks like an outstanding resource, and it's fantastic that you found it and created the plug-in. I hope I can be of help resolving the issue.