trakt-for-plex / configuration

trakt (for Plex) configuration interface
http://trakt-for-plex.github.io/configuration
GNU General Public License v3.0
75 stars 11 forks source link

[Documentation] How to setup an additional account #1

Open fuzeman opened 9 years ago

fuzeman commented 9 years ago

How to setup an additional account

1. Login to the configuration interface

1a. Open http://trakt-for-plex.github.io/configuration

1b. Login with your plex.tv account credentials


2. Connect to your server

2a. Select your server


3. Create an account

3a. Open the "Accounts" configuration page (http://trakt-for-plex.github.io/configuration/#/configuration/accounts)

3b. Create a new account

3c. Authenticate the account

(visit https://trakt.tv/pin/478 for an authentication pin for your trakt.tv account)


4. Setup rules

4a. Open the "Rules" configuration page (http://trakt-for-plex.github.io/configuration/#/configuration/rules)

4b. Adjust the activity rules to automatically map plex users to their trakt.tv account


5. Adjust global filters

5a Open the plugin preferences in Plex/Web

5b. Reset your global filters to allow activity from other users


Happy to answer any questions below, let me know if you find any bugs :smiley:

saitoh183 commented 9 years ago

Mapping is automatic? If I want to map each user to there own trakt account do I use User Rules and set account to the user's plex account or trakt account? And Name will be the other?

saitoh183 commented 9 years ago

Setting up another User, Do i need a authentication Pin for that user as well? if so It wont Save

fuzeman commented 9 years ago

Mapping is automatic? If I want to map each user to there own trakt account do I use User Rules and set account to the user's plex account or trakt account? And Name will be the other?

Yeah, if you have a "Map" rule added it will automatically match plex users to their trakt accounts (as defined in the "Accounts" pages). You only need to manually define user rules if you want to have multiple plex users scrobble to a single trakt account.

Setting up another User, Do i need a authentication Pin for that user as well? if so It wont Save

Yes, the authentication pin is specific to the trakt.tv account.

Attempting to link two accounts to a single trakt.tv account will silently reject the save, did you open the https://trakt.tv/pin/478 URL after logging into a new trakt account?

saitoh183 commented 9 years ago

Yes i did login to the other users trakt and then used the link.. I will try again again.

fuzeman commented 9 years ago

Upload the plugin log files if it fails again, see https://github.com/trakt/Plex-Trakt-Scrobbler/wiki/Log_Files for the location of them.

saitoh183 commented 9 years ago

Ok it worked this time...dont know what went wrong. Im gussing this doesnt worked with managed users?

saitoh183 commented 9 years ago

Recommendation:

put the https://trakt.tv/pin/478 URL in the title area next to OAuth in the Trakt config section that way we dont have to go searching for it when we need to add a new user

saitoh183 commented 9 years ago

You should move the Doc to the Wiki section and add the link to the wiki in the support area on the configuration page

fuzeman commented 9 years ago

put the https://trakt.tv/pin/478 URL in the title area next to OAuth in the Trakt config section that way we dont have to go searching for it when we need to add a new user

Forgot about this, will add this to my to-do list.

You should move the Doc to the Wiki section and add the link to the wiki in the support area on the configuration page

Yeah, I'm planning on moving this into the wiki soon.

MaartenMol commented 9 years ago

I seem to have a little issue. Set it up like the above, my own account is perfect. However, my friends accounts are scrobbling but not syncing the watched status.

Does anyone have a clue how I could fix this?

bbaraniec commented 9 years ago

I can't authenticate 2nd user to Plex. I've set up Plex Home.

fuzeman commented 9 years ago

Just pushed an update (v1.1.1) that supports creating accounts for Plex Home users (this includes managed users).

On the "Plex" authentication tab change to the "Home" mode:

taljaards commented 8 years ago

Can it be set up so that if media is played on a certain device, there should be scrobbled to more than one account?

fuzeman commented 8 years ago

@Mierzen Interesting idea, have posted the feature here: https://github.com/trakt/Plex-Trakt-Scrobbler/issues/270

Not sure when this feature can be implemented, might be awhile away. Subscribe to that issue so you can get emails on the status of it :smiley:

EldonMcGuinness commented 8 years ago

I am hoping to have more than one account sync to a single trakt account, not just scrobble but actually be able to sync the play status. Is this possible?

saitoh183 commented 8 years ago

@EldonMcGuinness

yes you can...each account can scrobble or sync

EldonMcGuinness commented 8 years ago

@saitoh183 Perhaps I am missing something, can you elaborate as to the rules needed or what needs to happen? These are home accounts if that makes a difference.

I have the accounts created in plex and on the config page, tried putting:

but when I try to trigger a sync in the trakt channel I get an oauth error. The eldon.mcguinness account has a green check for plex and trakt on the config page, but adults will not get a green check for trakt, I'm assuming that is just the way it is, no?

It is worth noting that I can sync the eldon.mcguinness account, but I'd rather not have that be a "user account" as I use more than one server.

saitoh183 commented 8 years ago

Each Plex account associated with a trakt account

In Rules you you set it to Account = Map and Name =Any

EldonMcGuinness commented 8 years ago

@saitoh, what I'm trying to do is have 2 accounts sync with 1 trakt account.

eldon.mcguinness -> eldon.mcguinness Adults -> eldon.mcguinness

What I'm trying to achieve here is to keep them in sync.

saitoh183 commented 8 years ago

have you tried User Rules Map/eldon.mcguinness

EldonMcGuinness commented 8 years ago

yup, still the same.

saitoh183 commented 8 years ago

i remembered seeing that question on the forum...and i found it...it is not possible...

https://forums.plex.tv/discussion/comment/1038803/#Comment_1038803

Currently you can only send real-time watching activity from multiple plex accounts into one trakt account (via activity filters/rules). Syncing multiple plex accounts into one trakt account might be possible to implement, will have a look when I've got some free time.

EldonMcGuinness commented 8 years ago

bummer. Was hoping to allow my son to sync down the same data so when we watch his shows on the adults profile it could also be marked in his as watched too.

Perhaps it will be something that could happen in the future. Thanks for the assist.

fuzeman commented 8 years ago

I'll be looking at implementing some more advanced scrobbling/syncing options in future releases, currently focusing on getting the current release 100% stable first :smile:

ghost commented 8 years ago

Hi @fuzeman, I think I already asked that question a year ago or so, but I can't find our conversation and don't remember: Is it possible to run the configuration on my own server, and/or will my initial setup continue to work should the plex-for-trakt.github.io domain vanish for whatever reason? After having been burnt a few times too often by disappearing services, I try to minimize depending on external factors as much as possible. :wink: And thanks again for all your hard work, will definitely make another big donation after upgrading to 1.0!

fuzeman commented 8 years ago

@matrixagent Yeah, I can remember you asking this question awhile ago :smile:

The configuration website connects directly to the plugin running on your server to retrieve/update settings, so if the site disappears everything will continue working as usual.

As the site is hosted on GitHub's servers (with GitHub pages) I doubt it would disappear, it might be unreachable for awhile if there is an outage at GitHub though..

ghost commented 8 years ago

@fuzeman Is it possible to map one Plex user to multiple trakt users? I'd like to set up a managed user that scrobbles for both me and my girlfriend. Both our individual Plex and trakt accounts are set up and work fine, but when we watch something together I'd rather select the "Both" Plex user and be done with it instead of one of us having to manually scrobble.

fuzeman commented 8 years ago

@matrixagent Currently the plugin doesn't support that. I would like to support more complex scrobbling/syncing configurations but it will likely be awhile before work can be started on this.

ghost commented 8 years ago

Good things come to those who wait, just like this fantastic new version. :)

StefanFourie commented 8 years ago

@fuzeman I think I might be missing something, but I cannot get my watched history onto the trakt profile.. I followed all the steps above, except for step 5 (cannot find it).

Any advice?

Also, 'pull' and 'push' is not really clear.. Is it pulling/pushing to or from Plex or Trakt?

infinitepi commented 8 years ago

I know you've answered this one already, but i'd like to put in another plug for allowing multiple plex users to use 1 trakt account.

i have a plex home and have separate users for my daughter and our livingroom HTPC (for PlexPy tracking purposes mostly, i'm a data geek). my main plex account is the one i use remotely and on the HTPC (will transition to Livingroom account when i can get it in sync). Now i'm trying to get the watch statuses 'copied over' to the livingroom account, and going forward want them in sync.

Also, i almost broke my mouse getting pissed that the trakt account wouldn't save for my second user on the config website, till i read that it was 'silently failing'. a visible error would have been nice.... ;)

thanks for all your work on this.

fuzeman commented 8 years ago

@StefanFourie

I think I might be missing something, but I cannot get my watched history onto the trakt profile..

Could you open a new issue at https://github.com/trakt/Plex-Trakt-Scrobbler with the following details:

I followed all the steps above, except for step 5 (cannot find it).

Can you see the "trakt" plugin listed under "Channels" in Plex/Web? The "Global Filter" options should be listed under the settings there.

Also, 'pull' and 'push' is not really clear.. Is it pulling/pushing to or from Plex or Trakt?

Pull: Pulls data from your Trakt.tv profile into Plex Push: Pushes data from Plex to your Trakt.tv profile


@infinitepi I'll probably look at that feature after support for AniDB metadata agents reaches the beta branch (likely in April).

Also, i almost broke my mouse getting pissed that the trakt account wouldn't save for my second user on the config website, till i read that it was 'silently failing'. a visible error would have been nice.... ;)

Yeah, the configuration site could do with some polishing in a few places. I'll make sure that issue is fixed in a future release :smile:

valantislevas commented 8 years ago

hello may i ask something is great service and i use it.. i already i put 3 friends to my server and now i change my server is possible to move the current users members from server to other server? without using again autherication etc?

thanks for this

valantislevas commented 8 years ago

also another question i add sometimes user and i make auth with trakt is pin is ok when i try with plex with basic or with code is ok it says and picture is shows up i save it isnt Ticked green near and it shows up again Code for link with plex :octopus:

kaiguy commented 8 years ago

I've noticed that all of my shared users scrobble to my personal trakt account. I don't have a desire for my users to scrobble at this time, so what's the best way to keep it just to my own account? Should I perform the "map" action as shown above, or just filter on my Plex.tv account name? Thanks!

infinitepi commented 8 years ago

I say filter, thats how i solved it On May 3, 2016 11:08 AM, "kaiguy" notifications@github.com wrote:

I've noticed that all of my shared users scrobble to my personal trakt account. I don't have a desire for my users to scrobble at this time, so what's the best way to keep it just to my own account. Should I perform the "map" action as shown above, or just filter on my Plex.tv account name? Thanks!

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/trakt-for-plex/configuration/issues/1#issuecomment-216579025

fuzeman commented 8 years ago

I've noticed that all of my shared users scrobble to my personal trakt account. I don't have a desire for my users to scrobble at this time, so what's the best way to keep it just to my own account? Should I perform the "map" action as shown above, or just filter on my Plex.tv account name? Thanks!

Either method will work, just use what is easier for you.

mbnn commented 8 years ago

Any idea why http://trakt-for-plex.github.io/ takes ages to load when i click on my server? I have this every single time, it takes upto 4 minutes before I see the settings.

fuzeman commented 8 years ago

@mbnn Could you do the following:

I think this has been reported once before, not sure if a solution was found though..

mbnn commented 8 years ago

Here is the output:

Registered interface "/api/home" vendor.859d191d.js:20 Registered interface "/api/home/users" vendor.859d191d.js:20 Registered interface "/api/invites" vendor.859d191d.js:20 Registered interface "/api" vendor.859d191d.js:20 Registered interface "/pms/:" vendor.859d191d.js:20 Registered interface "/pms/playlists" vendor.859d191d.js:20 Registered interface "/pms/social" vendor.859d191d.js:20 Registered interface "/devices" vendor.859d191d.js:20 Registered interface "/:" vendor.859d191d.js:20 Registered interface "/pins" vendor.859d191d.js:20 Registered interface "" vendor.859d191d.js:20 Registered interface "/users" vendor.859d191d.js:20 Registered interface "/:/plugins//messaging" vendor.859d191d.js:20 Registered interface "" vendor.859d191d.js:20 Exposed interface "/api/home" vendor.859d191d.js:20 Exposed interface "/api/home/users" vendor.859d191d.js:20 Exposed interface "/api/invites" vendor.859d191d.js:20 Exposed interface "/api" vendor.859d191d.js:20 Exposed interface "/pms/:" vendor.859d191d.js:20 Exposed interface "/pms/playlists" vendor.859d191d.js:20 Exposed interface "/pms/social" vendor.859d191d.js:20 Exposed interface "/devices" vendor.859d191d.js:20 Exposed interface "/:" vendor.859d191d.js:20 Exposed interface "/pins" vendor.859d191d.js:20 Exposed interface "" vendor.859d191d.js:20 Exposed interface "/users" vendor.859d191d.js:20 Exposed root method "devices" vendor.859d191d.js:20 Exposed root method "pins" vendor.859d191d.js:20 plex initialized scripts.4ef01a59.js:1 authenticated scripts.4ef01a59.js:2 [XXXXXXXXXXXXXXXXXXXXX] Testing 3 connections vendor.859d191d.js:20 Exposed interface "/:/plugins//messaging" vendor.859d191d.js:20 Exposed interface "" vendor.859d191d.js:20 Exposed root method "details" vendor.859d191d.js:20 Exposed root method "identity" scripts.4ef01a59.js:2 [XXXXXXXXXXXXXXXXXXXXX] Testing connection: https://172-16-6-2.2d7f2039a5a840f5b9a6f5c5e7e7ad17.plex.direct:32400 vendor.859d191d.js:19 OPTIONS https://172-16-6-2.2d7f2039a5a840f5b9a6f5c5e7e7ad17.plex.direct:32400/identity net::ERR_CONNECTION_TIMED_OUT(anonymous function) @ vendor.859d191d.js:19 vendor.859d191d.js:20 Exposed interface "/:/plugins/*/messaging" vendor.859d191d.js:20 Exposed interface "" vendor.859d191d.js:20 Exposed root method "details" vendor.859d191d.js:20 Exposed root method "identity" scripts.4ef01a59.js:2 [XXXXXXXXXXXXXXXXXXXXX] Testing connection: https://172-16-5-2.2d7f2039a5a840f5b9a6f5c5e7e7ad17.plex.direct:32400

I have no idea what that 172.16 ip is, but its definitely not our ip. Actually that 172.16 is our 2nd, 3rd IP on the LAN adapter for internal data transfer. No idea why it would try to connect to that though?

fuzeman commented 8 years ago

@mbnn Just pushed an update to the configuration site (v1.2.1), let me know if this reduces connection times.

I have no idea what that 172.16 ip is, but its definitely not our ip. Actually that 172.16 is our 2nd, 3rd IP on the LAN adapter for internal data transfer. No idea why it would try to connect to that though?

Plex Media Server advertises the IP Addresses of all your network interfaces, the configuration site needs to cycle through the available IP addresses for your server and find a valid one.

mbnn commented 8 years ago

This seems to have fixed it, now its 4 seconds :) Thank you!

jadroher commented 8 years ago

Hello @fuzeman

I have my plex main account synced with the trakt that seems to be working fine. But I wanted to use one of the plex user managed accounts instead of the main one. So following your instructions I change the account configuration (http://trakt-for-plex.github.io/configuration/#/configuration/accounts?id=1) and selected "home" when linking the plex and selected the plex user I wanted to be in sync. In the rules section I have Nothing in the client rules and the user rules set to Map as you suggest. But I see that it still syncs the main account. What I am doing wrong? Do I need to reset something in my trakt account?

Thanks Juanjo

fuzeman commented 8 years ago

@jadroher The first account on the configuration site will always sync to the administrator of your Plex Media Server, the site really needs to be updated to detail this clearly...

Try the following:

  1. Disconnect your Trakt.tv profile from the administrator (first) account
  2. Create a new account
  3. Link your Plex "Home" user to the new account
  4. Link your Trakt.tv profile to the new account
  5. Update the options for your new account (sync modes, triggers, etc..)
jadroher commented 8 years ago

Hello @fuzeman

Thanks for your response. What I've done is

1 - To disconnect the trakt.tv profile - I could not disconnect the trakt profile using the configuration/accounts page (trakt-for-plex.github.io/configuration)- Pressing the X did not worked. What I could was to disconnect the Plex account from the first account configuration 2 - I created a new trakt account to be used with the plex_user account 3 - Within the configuration/accounts page I created a new erntry to be used with the plex_user 4 - I linked this new account to the new Trakt profile and the Plex_user (via home) and voila, it worked 5 - Reviewed the triggers and so

Once done I did re-linked the first account to the main plex account.

Thanks a lot for your support.

jadroher

fuzeman commented 8 years ago

@jadroher Glad you got it working :smile:

I could not disconnect the trakt profile using the configuration/accounts page (trakt-for-plex.github.io/configuration)- Pressing the X did not worked.

I've got an idea what is causing this, will make sure it's fixed in a future update.

Tanisjones commented 8 years ago

Is it possible to link one plex account to two trakt users? I have tried having two rules like

MyPlexUser traktuser1 MyPlexUser traktuser2

but it does not work. Any ideas?

fuzeman commented 8 years ago

@Tanisjones Currently we only support syncing to one Trakt.tv account. I'm planning on supporting more advanced syncing configurations, but it will likely be a few months before I have time to work on this.

almostserious commented 7 years ago

I would like to sync my Trakt with 2 Plex accounts. I currently have in Plex: The "Admin" Account The Guest Account

In the rules i have tried: User Rules: Trakt Account -> ANY Plex Account => Syncs only with Admin Account Trakt Account -> Guest Plex Account => Syncs to no account.

Any idea what else i can try? Alternatively, i'd be happy if it only syncs to Guest Account.

fuzeman commented 7 years ago

@almostserious I know it's not documented very well, but please note "Rules" will only apply to real-time watching activity. There is currently no way to synchronize the past watched history of two Plex accounts to one Trakt.tv account.


If you want real-time watching activity for the "Guest" account to be scrobbled back to your main account, this seems to work for me:

Note: ratings, playback progress and collected items will only be synchronized between the Trakt.tv and Plex accounts specified on the "Accounts" page.


If you want the "Guest" account to be your primary account (with ratings being synchronized with your Trakt.tv account):

  1. On the "Accounts" page in the configuration site:
    1. Unlink your Trakt.tv account from your existing "Admin" account
    2. Create a new account for the Plex "Guest" user, and link your Trakt.tv account
  2. Update rules to map the "Admin" and "Guest" users to your new "Guest" account, for example: