mrkipling / maraschino

A front-end for HTPCs
MIT License
424 stars 125 forks source link

CouchPotato not working #362

Open eangulus opened 10 years ago

eangulus commented 10 years ago

Add correct API Key and module never shows.

Not even sure if its a problem here or with CP, but have been talking to the CP Dev, and he says that the database has changed slightly in CP and that developers need to adjust their software to suit. Hence why I am reporting it here.

Using Latest Maraschino build as of writing this, and using CP Dev build fully upto date.

Logs:

http://pastebin.com/bkSrNAcM

ovq commented 10 years ago

Same problem here. CP stopped working several Maraschino builds ago. I am on the developer fork of CP, however, so this might be the reason in my case.

dannyb78 commented 10 years ago

CP is working for me, I'm running latest stable maraschino.

ovq commented 10 years ago

@dannyb78 which version of CP are you running? Latest stable or developer?

dannyb78 commented 10 years ago

latest stable. thats the about: Version 240283405e5389a77642ccfd68d619313142635e (7/5/2014 10:50:36) Updater source, master ID6257 all is running in a freenas box, with standard plugins pbi.

ovq commented 10 years ago

Then maybe my CP developer fork screws up the integration...

gugahoi commented 10 years ago

It's possible one of the movies in your wanted list is missing some info Maraschino expects. CP is not very consistent with the info it replies.

eangulus commented 10 years ago

Not likely considering I don't use CP for NFO data. I use either whatever XBMC saves or Ember media manager.

eangulus commented 10 years ago

The problem is that the dev branch of CP has had some changes to the database, and therefore all my apps/addons will no longer work with CP until they are updated to use the new dB.

gugahoi commented 10 years ago

The CP modules grabs data from CP only, not sure what you mean by XBMC in this case. And I am assuming you mean the API since we do not touch the db for that very reason. I have lately switched to the movie watchlist feature in DogNZB so I cant really comment on CP (I only used it's post processing features).

eangulus commented 10 years ago

I don't developed CP and am only forwarding information I was told by the CP dev. Appatently there has been changes to the database which would most likely in turn mean changes to the API to suit.

And as to XBMC I thought you were talking about the NFO data

gugahoi commented 10 years ago

I see. It's possible there were changes as I havent had a read through CP's documentation in a long time. You can try going to: http://MARASCHINO_URL/xhr/couchpotato/ and see if you get any errors there.

eangulus commented 10 years ago

I ge the following with that URL.

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

gugahoi commented 10 years ago

Ok, I can see they changed a few things. I'll see if i can push a quick patch in a moment.

gugahoi commented 10 years ago

@eangulus I saw they have had a tone of updates in the last few days so I updated a few sections of the Maraschino code. Give it a shot and let me know if it has worked for you.

eangulus commented 10 years ago

Still not working. Heres the logs:

http://pastebin.com/djxpdLRc

eangulus commented 10 years ago

Noticed these lines in particular:

Jun-04 19:32:56 :: DEBUG :: CouchPotato :: EXCEPTION -- No JSON object could be decoded: line 1 column 0 (char 0)

eangulus commented 10 years ago

Just tried something.

The CP Module seems to work when set to compact view but doesn't otherwise.

matt7277 commented 10 years ago

Also seems to have broken my CP Module with the latest update.... worked fine before. running the latest CP as far as I can tell. I haven't dived through the logs just yet though..

Matt

On Thu, Jun 5, 2014 at 6:11 AM, Shaun Williams notifications@github.com wrote:

Just tried something.

The CP Module seems to work when set to compact view but doesn't otherwise.

— Reply to this email directly or view it on GitHub https://github.com/mrkipling/maraschino/issues/362#issuecomment-45216870 .

gugahoi commented 10 years ago

This is the version I am coding for: 80559d3 (6/4/2014 6:31:20 AM) It's only a couple of days old so make sure this is the one you have. It looks like they changed a lot of things in their API, mostly tho the structure of the response.

eangulus commented 10 years ago

I have the latest version and its not that.

I have: d252b660 (6/4/2014 4:18:41 PM)

gugahoi commented 10 years ago

Well this is weird. This is what I see on the master branch over at https://github.com/RuudBurger/CouchPotatoServer/tree/master

http://i.imgur.com/X8dqFR2.png

gugahoi commented 10 years ago

That time seems to match with my version so I am not sure whats up.

eangulus commented 10 years ago

I know, as per written in the first comment, I already stated I am on the Dev build.

gugahoi commented 10 years ago

Oh i misinterpreted your last comment I think. I cant really support the dev branch tho as most people are not on it so if there is a significant change there then we will have to wait till it trickles down to the master branch.