Plex Movie Requests

Loken, I know you don't want to to create a user account system or anything complex but is it possible just to ask for their names when the first visit the site and save it as a cookie?  That way pushbullet would be able to say "New Plex request from John" as the title.

Possible idea, I'll investigate!

Everything else is working as expected. The only other thing on my list is that CP isnt telling the page that it is downloaded. But I think that might be a CP problem as I have been looking through its logs and sometimes and takes a very long time before it gets it (if at all).

So you can add movies to CP and they get added correctly but they don't come back and get tagged as downloaded? Did you press the "Update status requests!"? Currently updates aren't being done automatically.

So you can add movies to CP and they get added correctly but they don't come back and get tagged as downloaded? Did you press the "Update status requests!"? Currently updates aren't being done automatically.

Yes, I do the update, but the only thing that seems to happen is to re-add it back and search for it again in CP (If I already previously marked it as completed).

I dont know if this makes a difference, but I dont allow CP to auto download, I manually choose after it finds them. I find that it's idea of a prefer movie file is not always the same as mine. Plus, I may not want to even try some of the garbage I get request for (me:.... yeah... I looked for that, didn't find it).

Yes, I do the update, but the only thing that seems to happen is to re-add it back and search for it again in CP (If I already previously marked it as completed).

I dont know if this makes a difference, but I dont allow CP to auto download, I manually choose after it finds them. I find that it's idea of a prefer movie file is not always the same as mine. Plus, I may not want to even try some of the garbage I get request for (me:.... yeah... I looked for that, didn't find it).

So you remove the movies from CP? Or are they already there and it adds them back? Can you go to the below URL but with your CP info and a movie's IMDB number at the end that is downloaded but Plex Requests isn't updating to reflect that? It should return a bunch of text that starts with " {"media": {"status": "done" " ( I only care about what the "status" variable returns, the rest isn't needed).

http://192.168.0.1:5050/api/abcdef0123456789/media.get/?id=

Auto or manual downloading shouldn't make a difference, I just care whether CP has tagged the movie as downloaded or not, regardless of how you downloaded it.

So you remove the movies from CP? Or are they already there and it adds them back? Can you go to the below URL but with your CP info and a movie's IMDB number at the end that is downloaded but Plex Requests isn't updating to reflect that? It should return a bunch of text that starts with " {"media": {"status": "done" " ( I only care about what the "status" variable returns, the rest isn't needed).

http://192.168.0.1:5050/api/abcdef0123456789/media.get/?id=

Auto or manual downloading shouldn't make a difference, I just care whether CP has tagged the movie as downloaded or not, regardless of how you downloaded it.

So you remove the movies from CP? Or are they already there and it adds them back?

If I manually tell CP "Mark this movie done" and it clears it out, the page will just add it back in. Most likely because it is sending back and "active" status shown below. Weird thing is, CP shows in it's logs that it is downloaded.

Here is what I get on 2 of the 3 movies I just tried testing with.

Paddington

{"media": {"status": "active" 

Dragon Ball

{"media": {"status": "active"

As you can see below, CouchPotato log thinks it's downloaded.

Capture_zpssb0owuf2.png

And this is after doing an update list...

Capture2_zps83itpazb.png

PS the ones shown as downloaded are me manually doing that on the admin page.

If I manually tell CP "Mark this movie done" and it clears it out, the page will just add it back in. Most likely because it is sending back and "active" status shown below. Weird thing is, CP shows in it's logs that it is downloaded.

Here is what I get on one of the 3 movies I just tried testing with.

Paddington

{"media": {"status": "active" 

Dragon Ball

{"media": {"status": "active"

As you can see below, CouchPotato log thinks it's downloaded.

Capture_zpssb0owuf2.png

And this is after doing an update list...

Capture2_zps83itpazb.png

That's very strange...it should say done not active. What version of CP you on?

And it would, it relies on the CP status when going through movies not the variable in the db. But the others all got tagged as done and crossed off? Can you check one of those to confirm? 

Are the ones that are still saying active under your managed section of CP?

That's very strange...it should say done not active. What version of CP you on?

And it would, it relies on the CP status when going through movies not the variable in the db. But the others all got tagged as done and crossed off? Can you check one of those to confirm? 

Are the ones that are still saying active under your managed section of CP?

Sorry, for the confusion. I added a "PS" to my post when you were typing this one. The ones showing completed are from me going into the ADMIN page and setting them to true.

Im currently running vs 2.6.3

hey how are you guys getting this ruuning on an external webserver? My setup works great on local lan and i can access it from external ip forwarded to port 3000 but i would love to have it accessible from a www or subdomain i already have.

I havent tried yet, but I would assume with the correct external IP (were CP is) and the correct listening ports to CP port forwarded on your router that it would work. But Im guessing you already tried that?

Barring that what about just making it a link on the external site to the local installation and do some URL masking (so world doesnt see your IP and port)? You can still look at frame info and get the IP but not the port. But average users wont know how to do that. 

hey how are you guys getting this ruuning on an external webserver? My setup works great on local lan and i can access it from external ip forwarded to port 3000 but i would love to have it accessible from a www or subdomain i already have.

By external what do you mean exactly? On someone elses like a host for example digital ocean, or your own on a different machine.

My personal setup is I have it running on my web server (Ubuntu 14.04.2 headless) behind a nginx web server. Nginx is set to listen to the domain I choose and forwards those requests to Meteor (actually node js) which serves the web pages.

Simply put, you just need a web server that supports proxying in front of meteor/nodejs to serve requests and obviously a domain setup with correct dns entries pointing to your web server.

Example guide https://www.digitalocean.com/community/tutorials/how-to-deploy-a-meteor-js-application-on-ubuntu-14-04-with-nginx

hey how are you guys getting this ruuning on an external webserver? My setup works great on local lan and i can access it from external ip forwarded to port 3000 but i would love to have it accessible from a www or subdomain i already have.

I started with digital ocean, but since there is very little traffic I used meteors servers.

$ meteor deploy the-custom-domain.com

After that go to your domain register and point cname for "the-custom-domain.com" to "origin.meteor.com" Easy as pie.

Some ideas:

1. If you are logged into admin, you can also remove movies from frontpage.

2. Removals also remove it from CP que

3. Add keywords that will be ignored like "XXX" (yes there is porn links on imdb)

4. Highlight if a movie that is searched for hasent been released yet.

4.http://sickbeard.com/api/:)

I started with digital ocean, but since there is very little traffic I used meteors servers.

$ meteor deploy the-custom-domain.com

After that go to your domain register and point cname for "the-custom-domain.com" to "origin.meteor.com" Easy as pie.

Yep that would work too! Just keep in mind there's no guarantee or anything with meteor and it is sometimes down, but it's nice and easy. Hopefully once it becomes a full product it'll be priced competitively! And easily allow Mongo DB back ups lol

Some ideas:

1. If you are logged into admin, you can also remove movies from frontpage.

2. Removals also remove it from CP que

3. Add keywords that will be ignored like "XXX" (yes there is porn links on imdb)

4. Highlight if a movie that is searched for hasent been released yet.

4.http://sickbeard.com/api/ :)

1. Remove in what regard? From the requested list? You can remove the entire entry if you want (just delete the db record). Entries mark as "downloaded: true" get cleaned up 14 days after they are requested (NOT after they're downloaded)

2. I could work that in--possibly add a custom action in the admin interface that removes it from here and CP?

3. Not sure if I'd implement this, purely because it wouldn't be easy to do

4. Thanks found that the other day! Busy working on parsing XML tv search results from tvrage to see if I can use it, and brainstorming how to integrate both type of searches (same search box? stacked results? combined results? two permanent search boxes? two search boxes shown after first selection a category? options... lol)

I would love if users could log in using their plex username & pwd, but not sure if that's even possible :)

I'm testing now and love what I see so far :D

1. Remove in what regard? From the requested list? You can remove the entire entry if you want (just delete the db record). Entries mark as "downloaded: true" get cleaned up 14 days after they are requested (NOT after they're downloaded)

2. I could work that in--possibly add a custom action in the admin interface that removes it from here and CP?

3. Not sure if I'd implement this, purely because it wouldn't be easy to do

4. Thanks found that the other day! Busy working on parsing XML tv search results from tvrage to see if I can use it, and brainstorming how to integrate both type of searches (same search box? stacked results? combined results? two permanent search boxes? two search boxes shown after first selection a category? options... lol)

1. Remove from the entry in the front yeah, easy and fast. I've already used the backend, which ofcos works but you get the idea.

2. Once removed from Requested list, its also removed from CP wanted list.

3. I've had issues with people requesting porn:/

4. Looking foward to what you do there:)

5. Highlight a movie that hasent been released (the date is fine, but its a little hidden, maybe post a text "to be released *date*)

I would love if users could log in using their plex username & pwd, but not sure if that's even possible :)

I'm testing now and love what I see so far :D

That would be an OK way to do user accounts but I don't think there's anyway to tie into that unfortunately!

1. Remove from the entry in the front yeah, easy and fast. I've already used the backend, which ofcos works but you get the idea.

2. Once removed from Requested list, its also removed from CP wanted list.

3. I've had issues with people requesting porn:/

4. Looking foward to what you do there:)

5. Highlight a movie that hasent been released (the date is fine, but its a little hidden, maybe post a text "to be released *date*)

1. So for users to remove as well, that's possible

2. I'll have to write a custom remove option for admin side instead of just deleting db record but I think I'll add this in

3. Ah, yeah true, I'll look into it, no promises though

4. Me too!

5. The released date currently is the theatrical one as it's the only date I have access to, so not sure if that changes your opinion. Also each entry already has a lot of text I worry adding more would make it look overloaded and start wrapping the text. Each entry does link to their IMDB pages if they want to view more detailed info too

Regarding 5, maybe mock up something so I can better understand how you want the requested list to look, it's just text so could do it directly in post even!

What's the easiest way to run this daemonized on a Centos box? 

Thanks for writing this, giving it a test run.

What's the easiest way to run this daemonized on a Centos box? 

Thanks for writing this, giving it a test run.

On my Ubuntu server I'm using upstart to start at boot and restart when needed, see Step 4 on here https://www.digitalocean.com/community/tutorials/how-to-deploy-a-meteor-js-application-on-ubuntu-14-04-with-nginx

I'd run it with nodejs/mongod instead of just meteor's development server for robustness.