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

override the machine identifier #544

Closed
LexusSpeed03 opened this issue Sep 19, 2016 · 12 comments
Closed

override the machine identifier #544

LexusSpeed03 opened this issue Sep 19, 2016 · 12 comments

Comments

@LexusSpeed03
Copy link

Plex Requests.Net Version: Latest

Operating System: Windows 10 64bit

Applicable Logs (from /logs/ directory or the Admin page):

Reproduction Steps: None just click the links

Hello,

The view in Plex is not working it is calling the wrong "ID". There was a similar program I used plex email that had a feature like this and was pulling same way that would get the wrong ID. He had to re write where he gathered it from. Might want to check this out.

Plex Email Link:

jakewaldron/PlexEmail#35

Thanks,
Dereck

@tidusjar
Copy link
Member

tidusjar commented Sep 19, 2016

Oh really? This is the "View In Plex button"?

Would manually setting the Plex Server GUID be okay?

@LexusSpeed03
Copy link
Author

Yes there was a similar issue I had with plex email that would pull the
wrong server id from a database. Well after I updated and saw the button on
plex request clicked it and it pulls that old id. I had migrated from one
plex to new one afternoon time ago and it keeps that id some where lol.

On Sep 19, 2016 2:56 AM, "Jamie" [email protected] wrote:

Oh really? This is the "View In Plex button"?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#544 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMDLdz1NFZWsUKzE9QtxVdnHv770OsJgks5qrkBFgaJpZM4KAHUj
.

@tidusjar
Copy link
Member

Damn... Could I send you a few API endpoints and you return the response on here? Just so I can see what Plex is giving you?

@LexusSpeed03
Copy link
Author

Yes sir I don't mind.

On Sep 19, 2016 7:49 AM, "Jamie" [email protected] wrote:

Damn... Could I send you a few API endpoints and you return the response
on here? Just so I can see what Plex is giving you?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#544 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMDLd2obDs9PaOmQFQ-jNb8rzkGtRfw_ks5qroThgaJpZM4KAHUj
.

@LexusSpeed03
Copy link
Author

If you enable DLNA server on your plex this will fix the issue.

@tidusjar
Copy link
Member

Can you please navigate to this:
https://plex.tv/pms/servers.xml

and just replace any personal info with Retracted ?

@tidusjar
Copy link
Member

Any news?

@ammadz
Copy link

ammadz commented Nov 3, 2016

If i may jump in to this thread, I could not get "View in Plex" to work.
When I click "view in Plex", it connects to plex.tv (https://app.plex.tv/web/app#!/server//details/%2Flibrary%2Fmetadata%2F289) and the message says "You must be lost - this page doesn't exist".
@tidusjar this is what i get when navigate to servers.xml - (MediaContainer friendlyName="myPlex" identifier="com.plexapp.plugins.myplex" machineIdentifier="18f8879e37faad6dd8a93f703d816deb7b3bc68b" size="0")
Thanks

@tidusjar
Copy link
Member

tidusjar commented Nov 3, 2016

I think I'm going to add a field to override the machine identifier to resolve that

@Magikarplvl4 Magikarplvl4 reopened this Nov 3, 2016
@Magikarplvl4 Magikarplvl4 changed the title View in Plex Issues override the machine identifier Nov 3, 2016
@Magikarplvl4 Magikarplvl4 added this to the Release v1.10.0 milestone Nov 3, 2016
@ammadz
Copy link

ammadz commented Nov 4, 2016

Brilliant. Will wait for the update then.
Cheers

@Magikarplvl4
Copy link
Contributor

Magikarplvl4 commented Nov 7, 2016

@ammadz @Dereckr Fixed in dev branch. will be released in version V1.10.0

@ammadz
Copy link

ammadz commented Nov 7, 2016

Thanks a lot.

@cardinalfan1
Copy link

cardinalfan1 commented Mar 12, 2017

Thanks for implementing this feature. I have not been able to get it to work unfortunately. I tried getting my machine identifier from this site: https://plex.tv/pms/servers.xml. When I click on the "View in Plex" button, it takes me to a "You must be lost / This page doesn't exist".

For reference, the URL it is trying to take me to is: https://app.plex.tv/web/app#!/server/c5e18006a738bcc48bfef87e78f2c2d629851904/details/%2Flibrary%2Fmetadata%2F663

I tried changing the %2F to https://app.plex.tv/web/app#!/server/c5e18006a738bcc48bfef87e78f2c2d629851904/details//library/metadata/663
but this did not help either.

Any suggestions?

EDIT: Actually I just tried looking for what the correct URL should be, which is:
https://app.plex.tv/web/app#!/server/c5e18006a738bcc48bfef87e78f2c2d629851904/details?key=%2Flibrary%2Fmetadata%2F663

Is there any way to get the '?key=' part added on?
Thanks

EDIT 2: I think its Ombi/Ombi.Helpers/PlexHelper.cs, line 102 GetPlexMediaUrl...
If only I could figure out how to edit that file on my copy lol

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

No branches or pull requests

5 participants