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!

Plex Movie Requests

2456771

Comments

  • foebikfoebik Members, Plex Pass Posts: 588 Plex Pass
    edited March 2015

    OK, I got it working. It might have been because I was trying to use this version http://win.meteor.com/ (thebootstrapper) or you directions just click in my head.

    So I get the page and I can search for new movies. But it doesn't seem to do anything other than error out on pushbullet. They do show up under requested movies. I left the config alone for pushbullet as I don't use it. I use Pushover. But I rather not get any notification. I rather it just show up in my Coachpotato. So when I go to check CP it is there ready for me to try and download (I have CP set to manual use).

    I have attached the logs you see from the cmd window when you run it. In this case I added two movies and looked at them under requested.

  • mdelportmdelport Members, Plex Pass Posts: 474 Plex Pass
    edited March 2015
    foebik wrote on March 31 2015, 9:04 PM: »

    OK, I got it working. It might have been because I was trying to use this version http://win.meteor.com/ (thebootstrapper) or you directions just click in my head.

    So I get the page and I can search for new movies. But it doesn't seem to do anything other than error out on pushbullet. They do show up under requested movies. I left the config alone for pushbullet as I don't use it. I use Pushover. But I rather not get any notification. I rather it just show up in my Coachpotato. So when I go to check CP it is there ready for me to try and download (I have CP set to manual use).

    I have attached the logs you see from the cmd window when you run it. In this case I added two movies and looked at them under requested.

    Great! Comment out the Push Bullet line as I mentioned in step 4.5 to get rid of those error messages (comment out = put two forward slashes at start of line). Did you put your cp ip/api on correct line?

    an example is:

    var cpAPI = "http://192.168.1.2:5050/api/abcdef0123456789/";

  • foebikfoebik Members, Plex Pass Posts: 588 Plex Pass
    Loken wrote on March 31 2015, 9:11 PM: »

    Great! Comment out the Push Bullet line as I mentioned in step 4.5 to get rid of those error messages (comment out = put two forward slashes at start of line). Did you put your cp ip/api on correct line?

    an example is:

    var cpAPI = "http://192.168.1.2:5050/api/abcdef0123456789/";

    Ah, I skimmed past that line as it first started talking about disabling CP. That is all on me and I have now commented out the correct line.

    The cpAPI is correct. I verified the API and the port number. And even though it is on the same system I put in it's local IP instead of localhost. I also restarted the server just to be safe and added in two more movies. They are still not showing up in CP. Any other ideas?

  • cayarscayars Members, Plex Pass, Plex Ninja Posts: 3,919 Plex Ninja
    edited March 2015
    Loken wrote on March 31 2015, 2:39 PM: »

    Screenshot03.png


    OMDB or is that supposed to be IMDB?
  • mdelportmdelport Members, Plex Pass Posts: 474 Plex Pass
    cayars wrote on March 31 2015, 10:24 PM: »

    OMDB or is that supposed to be IMDB?

    Nope it's correct, check it out at http://www.omdbapi.com/

    I used to scape IMDB search pages but this way is just simpler.

  • mdelportmdelport Members, Plex Pass Posts: 474 Plex Pass
    foebik wrote on March 31 2015, 9:22 PM: »

    Ah, I skimmed past that line as it first started talking about disabling CP. That is all on me and I have now commented out the correct line.

    The cpAPI is correct. I verified the API and the port number. And even though it is on the same system I put in it's local IP instead of localhost. I also restarted the server just to be safe and added in two more movies. They are still not showing up in CP. Any other ideas?

    Can you send me a new log (now that PB is removed). Try a request just in a browser just to confirm it's working externally of the app, should get bunch of JSON formatted text back with list of all movies in cp.

    http://cpip:port/api/1234567890/media.list

  • mdelportmdelport Members, Plex Pass Posts: 474 Plex Pass
    Swifty wrote on March 31 2015, 8:21 PM: »

    Can we prevent movies being automatically added, i.e. I can remove them first for example via an admin page?

    Interesting idea, never really crossed my mind. I've only ever done regular user accounts for access to Meteor apps but I'll see if I can come up with a way to make an account that can browse to a /admin page or something and allow/deny requests.

  • foebikfoebik Members, Plex Pass Posts: 588 Plex Pass
    edited April 2015

    EDIT: I figured out how to get it working. I original install CP through git. I deleted that install and installed it with the exe.

    I imagine that the different install method really didn't have much to do with, but rather suspect something was wrong with the version I had in regards to updating itself. There are clearly some new updates and my old version kept saying it was up to date.

    Moral of the story, make sure your CP is running the latest version.

    Loken wrote on March 31 2015, 11:31 PM: »

    Can you send me a new log (now that PB is removed). Try a request just in a browser just to confirm it's working externally of the app, should get bunch of JSON formatted text back with list of all movies in cp.

    http://cpip:port/api/1234567890/media.list

    Yes, the app itself behaves as expected while using it. The log below is after a restart and 1 new movie added, "Forrest Gump".

    C:\plexrequests>meteor
     
    => Started proxy.
    => Started MongoDB.
    => Started your app.
     
    => App running at: http://localhost:3000/
       Type Control-C twice to stop.
     
    I20150331-20:06:59.434(-4)? Exception while invoking method 'searchCP' Error: fa
    iled [405] <html><title>405: Method Not Allowed</title><body>405: Method Not All
    owed</body></html>
    I20150331-20:06:59.434(-4)?     at Object.Future.wait (C:\Users\Foebik\AppData\L
    ocal\.meteor\packages\meteor-tool\1.1.1-win.8\mt-os.windows.x86_32\dev_bundle\se
    rver-lib\node_modules\fibers\future.js:398:15)
    I20150331-20:06:59.434(-4)?     at Object.call (packages/meteor/helpers.js:119:1
    )
    I20150331-20:06:59.434(-4)?     at [object Object].Meteor.methods.searchCP (app\
    server\server.js:24:25)
    I20150331-20:06:59.434(-4)?     at maybeAuditArgumentChecks (packages/ddp/liveda
    ta_server.js:1617:1)
    I20150331-20:06:59.434(-4)?     at [object Object]._.extend.withValue (packages/
    meteor/dynamics_nodejs.js:56:1)
    I20150331-20:06:59.434(-4)?     at packages/ddp/livedata_server.js:647:1
    I20150331-20:06:59.434(-4)?     at [object Object]._.extend.withValue (packages/
    meteor/dynamics_nodejs.js:56:1)
    I20150331-20:06:59.434(-4)?     at [object Object]._.extend.protocol_handlers.me
    thod (packages/ddp/livedata_server.js:646:1)
    I20150331-20:06:59.434(-4)?     at packages/ddp/livedata_server.js:546:1
    I20150331-20:06:59.434(-4)?     at makeErrorByStatus (packages/http/httpcall_com
    mon.js:12:1)
    I20150331-20:06:59.434(-4)?     at Request._callback (packages/http/httpcall_ser
    ver.js:109:1)
    I20150331-20:06:59.434(-4)?     at Request.self.callback (C:\Users\Foebik\AppDat
    a\Local\.meteor\packages\http\1.1.0\npm\node_modules\request\request.js:344:22)
    I20150331-20:06:59.434(-4)?     at Request.emit (events.js:98:17)
    I20150331-20:06:59.434(-4)?     at Request.<anonymous> (C:\Users\Foebik\AppData\
    Local\.meteor\packages\http\1.1.0\npm\node_modules\request\request.js:1239:14)
    I20150331-20:06:59.434(-4)?     at Request.emit (events.js:117:20)
    I20150331-20:06:59.434(-4)?     at IncomingMessage.<anonymous> (C:\Users\Foebik\
    AppData\Local\.meteor\packages\http\1.1.0\npm\node_modules\request\request.js:11
    87:12)
    I20150331-20:06:59.434(-4)?     at packages/ddp/livedata_server.js:648:1
    I20150331-20:06:59.434(-4)?     at _stream_readable.js:944:16
    I20150331-20:06:59.434(-4)?     - - - - -
    I20150331-20:06:59.434(-4)?     at process._tickCallback (node.js:442:13)
    I20150331-20:06:59.434(-4)?     at IncomingMessage.emit (events.js:117:20)
  • gblogbdgblogbd Members Posts: 18 ✭✭

    Is there a way to clear the search queries? Say I want to re-add a movie, I can't because it's already in the list of searched titles. Anyway to clear the search history?

  • foebikfoebik Members, Plex Pass Posts: 588 Plex Pass
    edited April 2015
    gblogbd wrote on April 1 2015, 12:56 AM: »

    Is there a way to clear the search queries? Say I want to re-add a movie, I can't because it's already in the list of searched titles. Anyway to clear the search history?

    I think he is looking into allowing admin access that will let us do things like this. I wouldn't mind being able to clear out all the junk ones I used while testing.

    BTW, thanks for a great app. This is so much better than me keep telling my users to email me requests.

  • foebikfoebik Members, Plex Pass Posts: 588 Plex Pass

    I wonder if there is any way to add the plex icon to the page. Like plexWeb and plexWatch do.

  • mdelportmdelport Members, Plex Pass Posts: 474 Plex Pass
    foebik wrote on April 1 2015, 12:08 AM: »

    EDIT: I figured out how to get it working. I original install CP through git. I deleted that install and installed it with the exe.

    I imagine that the different install method really didn't have much to do with, but rather suspect something was wrong with the version I had in regards to updating itself. There are clearly some new updates and my old version kept saying it was up to date.

    Moral of the story, make sure your CP is running the latest version.

    Yes, the app itself behaves as expected while using it. The log below is after a restart and 1 new movie added, "Forrest Gump".

    How out of date was your version? It looked like maybe your API was on a different version, maybe they changed some of the calls, but good to know it's working!

    And yep I've avoided accounts as much as possible because it just doesn't need it IMHO but an admin account/page makes sense so I'll see what I can figure out for that (it's time likes these where I miss Django and it's virtually pre-made admin interface for you!).

    Regarding the Plex logo, I avoided it on purpose purely because I wasn't sure around the usage rights of it so I just picked 'Plex' like colours. But if can think of somewhere to put the logo I'll add it.

  • foebikfoebik Members, Plex Pass Posts: 588 Plex Pass

    Actually just the tiny logo in the browser tab (also used in favs) Right now it just a white page with the corner turned.

  • shylohmhshylohmh Members, Plex Pass Posts: 33 Plex Pass

    I would love to get this running on my qnap linux box, if anyone can point me in the right direction it will be much appreciated.

  • mdelportmdelport Members, Plex Pass Posts: 474 Plex Pass
    shylohmh wrote on April 1 2015, 2:56 PM: »

    I would love to get this running on my qnap linux box, if anyone can point me in the right direction it will be much appreciated.

    I can't help much as I've no experience with QNAP, but if you can do the below steps it could work!

    1. Use Modulus's tool to de-meteorize the application (https://github.com/onmodulus/demeteorizer)

    2. See if it's possible to install node.js on QNAP

    3. Run the app as a normal node.js application

    4. A basic web sever would need to be involved somewhere possibly

  • shylohmhshylohmh Members, Plex Pass Posts: 33 Plex Pass

    i have installed node.js on my qnap but can't seem to get the de-meteorizer app to work

  • mdelportmdelport Members, Plex Pass Posts: 474 Plex Pass

    For those asking for an admin interface, is this what you were thinking? This doesn't show the ability to approve/deny requests but to delete requests from the app. For those currently who want to wipe there db you can go into the Mongo console (in separate command prompt: meteor mongo) and loop up the commands, or you can wipe whole db by renaming the below folder:

    plexrequests-meter-master/.meteor/local/db

  • markandlinamarkandlina Members, Plex Pass Posts: 148 Plex Pass
    edited April 2015
    Loken wrote on March 31 2015, 11:33 PM: »

    Interesting idea, never really crossed my mind. I've only ever done regular user accounts for access to Meteor apps but I'll see if I can come up with a way to make an account that can browse to a /admin page or something and allow/deny requests.

    Superb, thank you! The logic behind my request is simple, it's quite possible that people wil request things I simply don't want to download, hence, if I can approve them first I can avoid adding unnecessary rubbish into CP...

    Also, for the simplified version, can you add an email notification option perhaps?

  • foebikfoebik Members, Plex Pass Posts: 588 Plex Pass
    Loken wrote on April 1 2015, 7:49 PM: »

    For those asking for an admin interface, is this what you were thinking? This doesn't show the ability to approve/deny requests but to delete requests from the app. For those currently who want to wipe there db you can go into the Mongo console (in separate command prompt: meteor mongo) and loop up the commands, or you can wipe whole db by renaming the below folder:

    plexrequests-meter-master/.meteor/local/db

    Very nice

  • foebikfoebik Members, Plex Pass Posts: 588 Plex Pass

    One thing I seem to be having problems with is CP talking back to the page to let it know when something has been downloaded. It only crossed out one item, when it should have been closer to 5-6. And when I try to update the list (thinking that will sync it) it just re-adds all the movies in the list back to CP, wither I downloaded or not.

Sign In or Register to comment.