If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

[REL] FMoviesPlus Channel

coder-alphacoder-alpha Posts: 723Members ✭✭✭
edited November 22 in Plex Channel Plugins

FMoviesPlus.bundle

FMoviesPlus.bundle - High Quality HD Movies & TV-Series

 

NOTE: The author of this plugin has no affiliation with FMovies and associated sites nor the owners of the content that they host.


FMoviesPlus

ChangeLog


Features:

  • Fast Google and Openload sources with HD 1080p content
  • External Listing now supports providers including G2G, Primewire, YesMovies and more...
  • Clean, Simple UI and includes DumbKeyboard for Search impaired clients
  • Ability to enable DumbKeyboard for individual client
  • An Advance Sort-Search Filter Implementation (try it to know)
  • Displaying detailed movie & episode info where available
  • Cache implementation, randomize user-agent to avoid bot response from server
  • Fix for temporary SSL issue with certain PMS
  • Search & Search Queue
  • Bookmarking

Plex Media Server (Server version is 1.3.3.3148):

  • Windows
  • Linux (Due to PMS issue - requires SSL option enabled under Channel Prefs. Also read Work In Progress below for a fix.)
  • Mac (Due to PMS issue - requires SSL option enabled under Channel Prefs. Also read Work In Progress below for a fix.)

Plex Clients Tested:


Known issues:

  • If your PMS has issues with SSL - enable the 'Use Alternate SSL/TLS' option under channel prefs.
  • Link Checker does not report correctly on non Windows OS - Fix for Ubuntu/Mac here
  • If the site is running slow, the Channel will crash when making lot of HTTP page requests - enable 'No Extra Info. for Nav. Pages (Speeds Up Navigation)' option under channel prefs.
  • If the movie page returns with only the trailer or bookmark options - please visit website to confirm and then report here
  • Links on Google 2 Server may not work on certain clients due to a cookie issue with Plex client - mentioned here. Not yet confirmed, try it with your client. Edit: This should not be an issue since the mentioned issue affects files hosted on Google drive and is not related to the types of Google server used here.
  • Read the Troubleshooting steps and Work In Progress list below with other issues and for fixes to expect in the next version.

GitHub issues
When reporting issues please include the channel log file com.plexapp.plugins.fmoviesplus.log [including numbered ones 1 through 5] (https://support.plex.tv/hc/en-us/articles/201106148-Channel-Log-Files) or use WebTools > Logviewer/Downloader. Please make sure to 'Enable Debug' option under the Setting/Prefs and replicate your issues before providing logs.


Future development:

Work In Progress:

  • Fix linkchecker for google hosted vid on non Windows OS - Read here
  • Implement a Download video option and add it to your library with correct name structure for Plex to catalog

Under consideration (feedback required):

  • Implement TV-Series shows as SeasonObjects for continuous playback option - not sure if this works in the Channel api but thats the intention. This has been implemented for 'External Listing'.
  • Feel free to post your suggestions or feature requests.

Implemented:

  • Movie summary on thumbnail navigation pages will be available soon. - Implemented with v 0.04 ✓
  • Token issue - Fixed with v 0.05 ✓
  • Season with more than 30 episodes only shows first 30 episodes. - Implemented with v 0.06 ✓
  • Implement SSL web-proxy for compatibility with older PMS - Implemented with v 0.08 ✓

Removed from consideration:
Implement Movie/TV-Series request feature

Implement Movie/TV-Series report issue feature


Installation:

Note: This channel plugin has a number of its own plugins and libraries which can take from a few seconds to a couple of minutes to Initialize after Installation or whenever PMS is restarted.

Binary files installation for OpenLoad and Mega support

Binary files can be download from here with instructions on installation..

  • Cryptodome : PyCryptodome is a self-contained Python package of low-level cryptographic primitives
    -- A cryto library required for Host Mega to function. Mega only allows downloading files, not streaming. Currently, G2G and ALL-UC are the only providers that provide links for Mega.
  • PhantomJS: PhantomJS is a headless WebKit scriptable with a JavaScript API
    -- A headless browser that allows opening webpages and extracting the final video url required for playback. Currently, OpenLoad is the only host utilizing this.


New automation routine for reqkey cookie. Details on how to set them up are discussed below. You only need 1 of them. Thanks to @Twoure for both the methods.

Note: Important Please read

As of v. 0.50 (Nov-2017) the site seems to not use the cookie token anymore, though it still has it in its code. I'm going to leave that in the channel plugin code incase it is back. So now resetting cookie wont dump any token code and also Webhook (hook.io) and Node.Js parts of the code are not being used (Automation methods discussed below) and not required. The session/cf cookie is still used so Reset Cookie can still fix cookie related issues.

Method 1: Installing a JRE (Java Runtime Engine) like Node.js

The preferred automation routine for the cookie requires a JRE installed on the PMS machine. There are a few other JRE's that might work as well but I have only tested this with Node.js. Once installed restart your PMS and confirm in your channel log if possible and see the following entries to confirm..

2017-05-16 19:41:23,578 (209c) :  DEBUG (core:566) - Finished loading plug-in code
2017-05-16 19:41:26,500 (209c) :  INFO (logkit:16) - execjs loaded from v1.1.0
2017-05-16 19:41:26,500 (209c) :  INFO (logkit:16) - execjs using engine: Node.js (V8)

Then navigate to the Reset Cookie and try a video and check if you are still getting the token error.

Method 2: Using a webhook url - please fork the one below and use your own

The other automation method (primarily where JRE cannot be installed) utilizes a website to run a small script to decode (similar to the manual process using jsfiddle). It is limited to 1000 request per month with their free plan so I request everyone to signup for the free account and fork this script https://hook.io/coder-alpha/test/fork and then enter it under the Channel settings/Prefs

Once you have updated the Settings/Prefs with your webhook-url navigate to Reset Cookie and then try a video and check if you are still getting the token error.

Once you have got one of the above methods working you can set your Cache expiry time to 100 (min.). This will fetch new cookies at that interval. I think the session cookie are valid for 2 hrs.

Method 3: Manual method using jsfiddle

JS Fiddle reqkey cookie value decryption page: https://jsfiddle.net/codyA/cz2zn4h4/embedded/result/ (Video walkthru in Help menu of the plugin/channel)


Channel Info

Providers

  1. FMovies
  2. G2G
  3. YesMovies
  4. Primewire
  5. ALL-UC
  6. FMovies.io
  7. GoGoAnime
  8. 9Anime
  9. More to come...

Hosts

  1. Google [Streaming, Downloading]
  2. OpenLoad [Streaming, Downloading]
  3. Mega [Downloading]
  4. YouTube [Streaming]
  5. via Generic Playback: RapidVideo, MyCloud [Streaming]
  6. Many more via the Plex Services [Streaming]

Troubleshooting: General

Restarting PMS can work wonders too in fixing issues and shoo away the ghosts of Plex :)
Some simple troubleshooting steps that might be useful.

Under Options > Clear Cache (can solve issues if a bad or old copy of a webpage is in memory)
Under Options > Reset Cookies (can solve bad/old cookie values that might be in memory)
If using a browser Clear browser cache or you can use the Inspect tool (Chrome) and Disable cache which works great after performing the first 2 options.
Restarting PMS can solve issues with variables in memory, including cache and cookies.

This is only recommended if the plugin never worked (could be due to a faulty install) and if the above does not solve then the following steps are to perform a fresh install. Save your Bookmarks via Options > Tools before doing so. You will lose your Recent Watchlist.

Via WebTool > Unistall & Install
If you dont have WebTools. Use Factory Reset under Options which will clear all stored variables (including Bookmarks, Recent, and other/all settings). Delete the FMoviesPlus.bundle from your Plex plugins folder. Download a new copy and install.

Troubleshooting: Errors

Video Unavailable. Error: Video Token Algo or
Video Unavailable. Error: Unknown error

  • When the site's algorithm to serve the video link changes.
    => Make sure you're on the latest version . If you still see the error try a 'Reset Cookie' & 'Clear Cache' to download new token/code and clear older retrieved links. If issue persists please report on this thread.

Video Unavailable. Error: Token

  • When the session/cloudflare cookie is expired or has issues.
    => Set Base Site URL under the channel settings/prefs to fmovies.is.
    If that does not resolve. Make sure you're on the latest version . If you still see the error try a 'Reset Cookie' & 'Clear Cache' to download new token/code and clear older retrieved links. If issue persists please report on this thread.

Error: The page was not received.

  • The site might be slow to respond.
    => Give it a few seconds and try again.
    If that does not resolve. Make sure you're on the latest version . If you still see the error try a 'Reset Cookie' & 'Clear Cache' to download new token/code and clear older retrieved links. If issue persists please report on this thread.

Channel not responding

  • This error can occur when using the Plex-Web client for a variety of reasons. The timeout for Plex-web client is set by Plex for 20 seconds which is not enough to make certain requests to websites which might need consecutive requests to retrieve a page/video. If the process is not completed within its timeout then you might see this error. This error can also occur when the site has changed its formatting of the webpage served and the channel plugin code cannot cope up with the changes. This error can also happen due to Plex-web caching an incorrect previous response in the browser cache.
    => Give it a few seconds and try again.
    -- If that does not resolve. Make sure you're on the latest version . If you still see the error try a 'Reset Cookie' & 'Clear Cache' to download new token/code and clear older retrieved links. Clear your browser cache and try again.

    -- Additionally, you can enable/disable some options under the Channel Prefs/Settings which will reduce unwanted requests being made. Those are No Extra Info. for Nav. Pages (Speeds Up Navigation) - enable it & Use LinkChecker for Videos - disable it.

    -- If nothing works then try to visit the site/webpage and confirm it is not being blocked and try the alternate Base Url's under the channel settings/prefs. If issue persists please report on this thread.


Acknowledgements:

mrknow for work on FMovies movie sources routine for Kodi
lambda81 for HTTP Request routine for SSL/Alternate lambdalib for Kodi
youtube-dl for previous work on OpenLoad scraper
coryo123 for DumbTools-for-Plex
Twoure for valuable technical insights and suggestions for JS routines

Code based/ported from Specto and Exodus (Kodi addons)

OS: Win7, Win10, Ubuntu 16.04, MacOS Sierra, FreeBSD 11.0

Storage: 4x6TB WD PR4100 NAS

Clients: PlexWeb, Samsung Plex App, Sony Opera App, Firestick Android, PS4, Samsung Galaxy S7, iPhone 7.0

Channels: FMoviesPlus, cCloudTv, Einthusan, DesiTelly

If you like my channels you can support my beer fund here ;)

My published channels and other work in progress on github


«13456750

Comments

  • zaak77zaak77 Posts: 82Members ✭✭

    thankyou very much downloading now

  • dane22dane22 Posts: 10,352Members, Plex Pass, Plex Ninja Plex Ninja

    Added to UAS

    I hate bugs - Tommy Lee Jones, MIB
    Join me in developing: epg-dk, str2utf-8, remidx, ExportTools, WebTools
    Support the Samsung Client:Donate
    Guides I use: Media Naming Guide, Local subtitles, Log-Files, QNAP FAQ, The Plex Dance

    NO Support via PM, unless called by me

  • coder-alphacoder-alpha Posts: 723Members ✭✭✭

    @dane22 said:
    Added to UAS

    Thank you :)

    Had a question. I am discontinuing my 3 channel since either the site has stopped being updated or there are better alternates which I plan to keep maintaining. They are:

    1. http://forums.plex.tv/discussion/165757/
    2. http://forums.plex.tv/discussion/233261/
    3. http://forums.plex.tv/discussion/133987/

    I have marked them in their main post and title as well. My questions..

    1. Is it a good idea to have those threads locked.
    2. Is there a flag in UAS to disable them or should I remove the entry and do a PR for them as well.

    OS: Win7, Win10, Ubuntu 16.04, MacOS Sierra, FreeBSD 11.0

    Storage: 4x6TB WD PR4100 NAS

    Clients: PlexWeb, Samsung Plex App, Sony Opera App, Firestick Android, PS4, Samsung Galaxy S7, iPhone 7.0

    Channels: FMoviesPlus, cCloudTv, Einthusan, DesiTelly

    If you like my channels you can support my beer fund here ;)

    My published channels and other work in progress on github


  • dane22dane22 Posts: 10,352Members, Plex Pass, Plex Ninja Plex Ninja

    I suggest that
    1. We lock the threads (I can do that)
    2. We indicate in the "Find my...." thread that they are no longer maintained (I can do that)
    3. A PR is created against UAS to remove them. This means they'll not be touched by UAS, if already installed, but will not be avail for new users (And you should create such a PR)

    Okay?

    /T

    I hate bugs - Tommy Lee Jones, MIB
    Join me in developing: epg-dk, str2utf-8, remidx, ExportTools, WebTools
    Support the Samsung Client:Donate
    Guides I use: Media Naming Guide, Local subtitles, Log-Files, QNAP FAQ, The Plex Dance

    NO Support via PM, unless called by me

  • dappa2dappa2 Posts: 232Members ✭✭

    tested last night on my android box, works great! I notice the odd movie here and there says the directory appears to be empty but I assume its to do with the source site.

    Operating System - Windows 8.1

    Plex Media Server - Latest Version

    Available Ram 16gb

    1 Terrabyte Hardrive

    Quad core Processor

    1 * Google chromecast

  • coder-alphacoder-alpha Posts: 723Members ✭✭✭

    @dane22 said:
    I suggest that
    1. We lock the threads (I can do that)
    2. We indicate in the "Find my...." thread that they are no longer maintained (I can do that)
    3. A PR is created against UAS to remove them. This means they'll not be touched by UAS, if already installed, but will not be avail for new users (And you should create such a PR)

    Okay?

    /T

    Great, please go ahead with the first two. I'll work on the 3rd. Thanks.

    @dappa2 said:
    tested last night on my android box, works great! I notice the odd movie here and there says the directory appears to be empty but I assume its to do with the source site.

    Good to know. If you encounter one (where only the Bookmark option shows or none) in the future could you let me know. Just want to make sure its not a bug. Thanks.

    OS: Win7, Win10, Ubuntu 16.04, MacOS Sierra, FreeBSD 11.0

    Storage: 4x6TB WD PR4100 NAS

    Clients: PlexWeb, Samsung Plex App, Sony Opera App, Firestick Android, PS4, Samsung Galaxy S7, iPhone 7.0

    Channels: FMoviesPlus, cCloudTv, Einthusan, DesiTelly

    If you like my channels you can support my beer fund here ;)

    My published channels and other work in progress on github


  • dane22dane22 Posts: 10,352Members, Plex Pass, Plex Ninja Plex Ninja

    I hate bugs - Tommy Lee Jones, MIB
    Join me in developing: epg-dk, str2utf-8, remidx, ExportTools, WebTools
    Support the Samsung Client:Donate
    Guides I use: Media Naming Guide, Local subtitles, Log-Files, QNAP FAQ, The Plex Dance

    NO Support via PM, unless called by me

  • Mark SMark S Posts: 390Members ✭✭✭

    You can find the files but nothing shows up when selected, it is just not working here.

  • Mark SMark S Posts: 390Members ✭✭✭

    Its this all the time.

  • coder-alphacoder-alpha Posts: 723Members ✭✭✭

    @Mark S said:
    Its this all the time.

    Are you on ver. 0.03 ? They changed something today so 0.02 and earlier broke.

    If its ver. 0.03 can you provide logs files of the channel. When you say 'files' do you mean you can see the page where it lists Google 1, Google 2 and Openload links ?

    OS: Win7, Win10, Ubuntu 16.04, MacOS Sierra, FreeBSD 11.0

    Storage: 4x6TB WD PR4100 NAS

    Clients: PlexWeb, Samsung Plex App, Sony Opera App, Firestick Android, PS4, Samsung Galaxy S7, iPhone 7.0

    Channels: FMoviesPlus, cCloudTv, Einthusan, DesiTelly

    If you like my channels you can support my beer fund here ;)

    My published channels and other work in progress on github


  • Mark SMark S Posts: 390Members ✭✭✭

    It lists the films etc, but nothing appears when selected

  • Mark SMark S Posts: 390Members ✭✭✭

    Installed from here.

  • coder-alphacoder-alpha Posts: 723Members ✭✭✭

    @Mark S said:
    Installed from here.

    That's v. 0.03
    Did you try a PMS restart ? Since you don't see the page with the Bookmark option I'm guessing its failing on the url service which might need a PMS restart.

    Hard to say without the logs otherwise.

    OS: Win7, Win10, Ubuntu 16.04, MacOS Sierra, FreeBSD 11.0

    Storage: 4x6TB WD PR4100 NAS

    Clients: PlexWeb, Samsung Plex App, Sony Opera App, Firestick Android, PS4, Samsung Galaxy S7, iPhone 7.0

    Channels: FMoviesPlus, cCloudTv, Einthusan, DesiTelly

    If you like my channels you can support my beer fund here ;)

    My published channels and other work in progress on github


  • eetjtleetjtl Posts: 633Members ✭✭✭

    Am I the only one having issues with the ssl ?

    2017-01-24 15:58:43,200 (164) : INFO (logkit:16) - Using SSL Alternate Option
    2017-01-24 15:58:43,200 (164) : INFO (logkit:16) - Url: https://www.fmovies.se
    2017-01-24 15:58:43,259 (164) : INFO (logkit:16) - Client ERR , https://www.fmovies.se:

  • Wolf_BrotherWolf_Brother Posts: 179Members ✭✭

    Just finished watching a film with this plugin on a Smart TV with Opera and everything worked great. Tried it on a Firestick last night and was getting an error but it was late so I didn't look into it and haven't had a chance to try again since. The channel itself looks to be really good, lots of content and high quality sources, just a matter of how long it survives before it gets blocked here in the UK as we race to compete with North Korea for who can censor its citizens the most lol.

  • coder-alphacoder-alpha Posts: 723Members ✭✭✭

    @eetjtl said:
    Am I the only one having issues with the ssl ?

    2017-01-24 15:58:43,200 (164) : INFO (logkit:16) - Using SSL Alternate Option
    2017-01-24 15:58:43,200 (164) : INFO (logkit:16) - Url: https://www.fmovies.se
    2017-01-24 15:58:43,259 (164) : INFO (logkit:16) - Client ERR urlopen error [Errno 1] _ssl.c:504: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error, https://www.fmovies.se:

    I was getting the SSL error when I tried on my Ubuntu 14.04LTS PMS without the Alternate SSL Option so I used a workaround for it to create the Alternate SSL option and then it has worked on my Ubuntu PMS. Which OS are you running and whats your PMS version ? I'm on the latest Public one.

    @Wolf_Brother said:
    Just finished watching a film with this plugin on a Smart TV with Opera and everything worked great. Tried it on a Firestick last night and was getting an error but it was late so I didn't look into it and haven't had a chance to try again since. The channel itself looks to be really good, lots of content and high quality sources, just a matter of how long it survives before it gets blocked here in the UK as we race to compete with North Korea for who can censor its citizens the most lol.

    There is a slight token issue which I am still working out. Seems to affect when the day changes, so from midnight to 1am, the default one does not work and one needs to enable the Token Tweak option. Lol. I think I have it almost figured and should be resolved in the next version.

    Lol true, but most of the time they just move around. ;)

    make hay while the sun shines

    OS: Win7, Win10, Ubuntu 16.04, MacOS Sierra, FreeBSD 11.0

    Storage: 4x6TB WD PR4100 NAS

    Clients: PlexWeb, Samsung Plex App, Sony Opera App, Firestick Android, PS4, Samsung Galaxy S7, iPhone 7.0

    Channels: FMoviesPlus, cCloudTv, Einthusan, DesiTelly

    If you like my channels you can support my beer fund here ;)

    My published channels and other work in progress on github


  • Mark SMark S Posts: 390Members ✭✭✭

    Does not work after a PMS restart, I will just presume this plug-in is blocked here in UK.
    I dont know how to display a log to clarify this further.

  • dappa2dappa2 Posts: 232Members ✭✭

    I'm in Uk Mark S, works ok here, I'm on virgin media.

    Coder alpha I was browsing around the channel the first day you made the channel available and like previously said the odd movie or tv show said "this directory appears to be empty" on some stuff I again clicked on the some of the ones which where doing it on 0.0.2 after updating to 0.0.3 and notice those movies show up now and load, so whatever you changed in the code has sorted it. Last night I did the the odd movie with just a bookmark movie showing up instead of the actual movie so if I see anymore I'll have a look at the source site and see if they are there.

    Operating System - Windows 8.1

    Plex Media Server - Latest Version

    Available Ram 16gb

    1 Terrabyte Hardrive

    Quad core Processor

    1 * Google chromecast

  • Mark SMark S Posts: 390Members ✭✭✭

    In my instance the movies do show up but when clicking on them nothing is shown.

  • coder-alphacoder-alpha Posts: 723Members ✭✭✭
    edited January 25

    @dappa2 said:
    I'm in Uk Mark S, works ok here, I'm on virgin media.

    Coder alpha I was browsing around the channel the first day you made the channel available and like previously said the odd movie or tv show said "this directory appears to be empty" on some stuff I again clicked on the some of the ones which where doing it on 0.0.2 after updating to 0.0.3 and notice those movies show up now and load, so whatever you changed in the code has sorted it. Last night I did the the odd movie with just a bookmark movie showing up instead of the actual movie so if I see anymore I'll have a look at the source site and see if they are there.

    Great, Thanks. That would be very helpful. You can see the changes that go into each version here ---> Changelog

    @Mark S said:
    In my instance the movies do show up but when clicking on them nothing is shown.

    Can you check and confirm this using PlexWeb. I did a test using all my other clients and my Sony Tv with Opera PlexApp did not work. Exhibits same behavior as you have reported. Once, I've ironed out the current issues with token and PMS, I'll start looking into client specific issues.

    @eetjtl said:
    Am I the only one having issues with the ssl ?

    2017-01-24 15:58:43,200 (164) : INFO (logkit:16) - Using SSL Alternate Option
    2017-01-24 15:58:43,200 (164) : INFO (logkit:16) - Url: https://www.fmovies.se
    2017-01-24 15:58:43,259 (164) : INFO (logkit:16) - Client ERR urlopen error [Errno 1] _ssl.c:504: error:14077438:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert internal error, https://www.fmovies.se:

    I will try and add a SSL proxy option if this continues to give an issue. I was hoping the SSL Alternate would work equally well for others encountering the SSL issue. Curious to know if it works for anyone else on Linux/Mac ?

    OS: Win7, Win10, Ubuntu 16.04, MacOS Sierra, FreeBSD 11.0

    Storage: 4x6TB WD PR4100 NAS

    Clients: PlexWeb, Samsung Plex App, Sony Opera App, Firestick Android, PS4, Samsung Galaxy S7, iPhone 7.0

    Channels: FMoviesPlus, cCloudTv, Einthusan, DesiTelly

    If you like my channels you can support my beer fund here ;)

    My published channels and other work in progress on github


«13456750
Sign In or Register to comment.