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

Send “Collected” info with Play #6

Open
dannyvfilms opened this issue Dec 27, 2018 · 7 comments
Open

Send “Collected” info with Play #6

dannyvfilms opened this issue Dec 27, 2018 · 7 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@dannyvfilms
Copy link

Trakt has an option to mark a movie as part of your personal collection, as opposed to just having seen it somewhere. Presumably so people can keep track of what they own and what they still want to pick up.

Infuse for Apple TV seems to mark some collected TV episodes, but not movies. I’m not looking for anything retroactive, but if it’s possuble to send “collected” along with a play it would be handy.

@XanderStrike XanderStrike added the enhancement New feature or request label Jan 7, 2019
@EnorMOZ
Copy link

EnorMOZ commented Jan 7, 2019

An option with a checkbox to just do when released "collected_at": "released" would work well.
https://trakt.docs.apiary.io/#reference/sync/add-to-collection/add-items-to-collection

@RcNorth
Copy link

RcNorth commented Feb 17, 2019

Does the Plex API notify when it adds a new item to the collection? If so, could this be used to update the Trakt collected when Plex adds a new item, vs waiting for it to be watched?

@dannyvfilms
Copy link
Author

I really hope someone smarter than me has the answer to that one 😅

@XanderStrike
Copy link
Owner

This totally sounds doable, I can add it as a url parameter so you don't need to regenerate your URLs. I'll look into this later tonight.

The Plex Webhooks only get sent on play/pause/stop events, so we can't keep track of your unplayed items unfortunately.

@dannyvfilms
Copy link
Author

Bump

@cgacord
Copy link

cgacord commented Sep 29, 2019

Based on Plex's webhooks page there is this option:

library.new – A new item is added to a library to which the user has access. A poster is also attached to this event.

Should be perfect for the collection of new items

Webhooks

@XanderStrike XanderStrike added good first issue Good for newcomers help wanted Extra attention is needed labels Dec 30, 2019
@geogolem
Copy link

geogolem commented Jul 6, 2020

library.new would be good for marking collection of new items, but there is nothing I can see that could handle when items are removed from the PLEX collection.. i.e. they can be added via webhook, but not removed ... (as far as I can tell)..

It seems additional webhooks have already been requested to PLEX:
https://forums.plex.tv/t/feature-request-additional-webhook-events/198122

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants