Giter VIP home page Giter VIP logo

Comments (9)

lokenx avatar lokenx commented on July 30, 2024

What branch are you on? If /about page shows commit what is it?

Does the server output any error messages, as well as on the client (open developer tools and then the console and try to add something)?

from plexrequests-meteor.

curlz620 avatar curlz620 commented on July 30, 2024

Release: V0.5
Branch: Master
Commit: 25ecd71

Below is the log from SB.

It doesn't show anything on the console.

2015-05-19 13:43:05 DEBUG CP Server Thread-6 :: API :: show.addnew: curKwargs {'tvdbid': u'268591'}
2015-05-19 13:43:05 DEBUG CP Server Thread-6 :: API :: all kwargs: '{'cmd': u'show.addnew', 'tvdbid': u'268591'}'
2015-05-19 13:43:05 DEBUG CP Server Thread-6 :: API :: all args: '()'
2015-05-19 13:43:05 DEBUG CP Server Thread-6 :: API :: 192.168.0.22 - gave correct API KEY. ACCESS GRANTED
2015-05-19 13:43:04 DEBUG CP Server Thread-5 :: API :: show: curKwargs {'tvdbid': u'268591'}
2015-05-19 13:43:04 DEBUG CP Server Thread-5 :: API :: all kwargs: '{'cmd': u'show', 'tvdbid': u'268591'}'
2015-05-19 13:43:04 DEBUG CP Server Thread-5 :: API :: all args: '()'
2015-05-19 13:43:04 DEBUG CP Server Thread-5 :: API :: 192.168.0.22 - gave correct API KEY. ACCESS GRANTED
2015-05-19 13:43:04 DEBUG CP Server Thread-3 :: API :: sb.ping: curKwargs {}
2015-05-19 13:43:04 DEBUG CP Server Thread-3 :: API :: all kwargs: '{'cmd': u'sb.ping'}'
2015-05-19 13:43:04 DEBUG CP Server Thread-3 :: API :: all args: '()'
2015-05-19 13:43:04 DEBUG CP Server Thread-3 :: API :: 192.168.0.22 - gave correct API KEY. ACCESS GRANTED

As you can see its getting the tvdbid and is gaining access, but then it doesn't add the show.

from plexrequests-meteor.

lokenx avatar lokenx commented on July 30, 2024

Well that doesn't seem to be complaining, although not sure what it working shows. Can you try the call we use in a web browser and let me know what it outputs? Adjust for your specific IP and API key and a TVDB id number of a show you're trying to add. Try with one you have already and one you don't.

http://192.168.0.1:8081/api/abcdef0123456789/?cmd=show.addnew&tvdbid=012345

from plexrequests-meteor.

curlz620 avatar curlz620 commented on July 30, 2024

When I attempt to run the call via the web browser I receive a 404 error - Not Found. I receive the same error regardless of what show it is added or not.

but the weird thing is within plex requests, when I add a show i have it still says "already in library"

from plexrequests-meteor.

morbidpete avatar morbidpete commented on July 30, 2024

same issue here using sickrage.

output from chrome when trying to use chuck per your url listed above

http://192.168.1.2:8081/api/5d86ac6be3bec../?cmd=show.addnew&tvdbid=80348

{
"data": {},
"message": "Root directory is not set, please provide a location",
"result": "failure"
}

from plexrequests-meteor.

curlz620 avatar curlz620 commented on July 30, 2024

Yes, I finally got it to display that, Must have had a typo the first try.

[code]
{
"data": {},
"message": "Root directory is not set, please provide a location",
"result": "failure"
}
[/code]

from plexrequests-meteor.

lokenx avatar lokenx commented on July 30, 2024

According to the SickBeard API

location -  optional
path to existing folder to store show

if not provided then the config setting (default) is used -- if valid

Can you go into your SickRage settings and check if you have a Root Directory set as a default? Under the General section of the config pages. Under Show root directories. There should be a file path there with an * to make it as default. Mine is below for example:

*/mnt/TV

from plexrequests-meteor.

morbidpete avatar morbidpete commented on July 30, 2024

I was working on just that myself. Thank you a ton for the help. working great now!

from plexrequests-meteor.

curlz620 avatar curlz620 commented on July 30, 2024

This resolved the issue for me as well.

Thanks!

from plexrequests-meteor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.