Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding NextPVR Recordings as a Plex Library Not Working Correctly V2 #12

Closed
purevertigo opened this issue Mar 23, 2017 · 24 comments
Closed
Assignees
Labels

Comments

@purevertigo
Copy link

Logs attached.

Foldername
Whos The Boss

Filename
Whos The Boss_20170323_15471622.ts
Whos The Boss_20170323_15471622.xml

Test.zip

@psyciknz
Copy link
Owner

Hi. Thanks. I do see an error In the npvrxml - looking on my phone so hard to tell.

Can you post the who's the boss episode xml? I don't need the video just the xml. And I'll try and load it on mine.

What did standout when quickly looking at the log I saw the keyword opensubtitles - but unsure if this is related or not.

@psyciknz psyciknz added the bug label Mar 24, 2017
@psyciknz psyciknz self-assigned this Mar 24, 2017
@psyciknz psyciknz reopened this Mar 24, 2017
@psyciknz
Copy link
Owner

Sorry, thought the "close and comment" button closed the window...not the issue. Sorry I'm a moron.

@purevertigo
Copy link
Author

Attached.

Whos2.zip

@purevertigo
Copy link
Author

Is there an ETA for this?

@psyciknz
Copy link
Owner

psyciknz commented Jul 6, 2017

I just added a .ts file and your XML to a new library and a scan found it.

It's missing the description, but what exactly is the problem....that it's not adding or that the details aren't being added?

@psyciknz
Copy link
Owner

psyciknz commented Jul 6, 2017

Then I had to do a refresh all metadata, and it appeared. Do you also have the Scanner installed? Not just the agent. The scanner finds the .ts files with the nextpvr name (as it's quite distinctive). The Agent reads the XML and gets the data.

I may have a slighter newer version on my system, so I'll upload that to github and you can try again.

@purevertigo
Copy link
Author

purevertigo commented Jul 7, 2017

No metadata/description was the original issue.

@psyciknz
Copy link
Owner

psyciknz commented Jul 7, 2017

Can you try the latest version in GitHub. I updated it today.

@purevertigo
Copy link
Author

Tried it already. A refresh Metadata does nothing to import XML.

@purevertigo
Copy link
Author

Has the fix been located?

@psyciknz
Copy link
Owner

psyciknz commented Jul 9, 2017

How is the library section configured? You are using the scanner and agent that I provide? And the library section is set to use both?

Does the show get added to the library with no metadata? Or is it not added at all. There's two different problems there.

@purevertigo
Copy link
Author

The library is configured as per your instructions on the page you made. I am using both agent and scanner and library uses both.

The problem is the show DOES gets added with NO metadata.

@psyciknz
Copy link
Owner

psyciknz commented Jul 9, 2017

So I just looked at something I recorded last night, and there's no description there either. Seems it's a bit hit and miss. As I think you have, refreshing the metadata didn't work either.

I'll see about having a play around.

@psyciknz
Copy link
Owner

psyciknz commented Jul 9, 2017

So between my dev system and my main plex system there are differences, probably in some of the add ins I have. I saw an error when I finally got it going with open subtitles. And no Im seeing an error where the agent isn't allowed to talk to the plex server to get the media details. This might be the issue, maybe. No idea why my other one was able to do it, which made me think it was working (though the other one is not plex pass enabled)

@purevertigo
Copy link
Author

Hopefully you can find the issue and get the agent working properly.

@purevertigo
Copy link
Author

Tried latest version. No change.

@psyciknz
Copy link
Owner

You're not giving me much to work with here. Does anything show up in the npvrxml log? Ir any thing, errors, or is the log untouched.

The system log shows the attributes of the agent?

How are you testing it? I tend to remove a video (and the xml) rescan. Then put it back in and rescan and I see it fire then.

@psyciknz
Copy link
Owner

So on here, someone had a similar problem and it worked for them: https://forums.plex.tv/discussion/comment/1475769#Comment_1475769

Did you add a token into the config? That's a new thing where I saw 401 errors in the npvrxml log.

@psyciknz
Copy link
Owner

Also a further question. Do you record directly to the directory that Plex then accesses? If so I wonder if Plex is trying to read the files/xml while still being recorded. And so doesn't attempt again at the end.

I've been playing with a script to copy from an nextpvr directory to a different location that Plex then reads.

@purevertigo
Copy link
Author

Alright. After taking another look closely. It now works (sort of) thanks to the link you sent me.

The metadata from the XML gets imported properly now but nothing is added from thetvdb at all. No images or descriptions of the show. Another bug?

@psyciknz
Copy link
Owner

Yeah it maybe a case of one or the other. What may have been happening before is that thetvdb was doing all the work. And the xml reader not firing at all.

I've set (it's done in code) that thetvdb can contribute to this agent. I think though, that you have to turn that on in the agent settings. I'll keep toodling, but I'm happy that you're at least getting data now.

@purevertigo
Copy link
Author

You're definitely right, it will have to be 'turned on' somehow. I've tried checkin it in settings and re-ordering so that it is first but nothing works.

@psyciknz
Copy link
Owner

No I just found the same thing. I'll see what I actually do for thumbnails. I know sice doing this initiallity, thumbnail support in nextpvr has increased, as I use it on my channel....so I may be able to piggy back off that, failing that I need to figure out how to defer to another metadata agent somehow.

Wish the plex community was a little more responsive in help.....

@psyciknz
Copy link
Owner

Should be closed now. Also the agent has moved to https://github.com/psyciknz/NPVRXML-Plex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants