- March 24, 2007
- 12,073
- 7,459
- Home Country
-
Germany
- Moderator
- #1
Hi,
there were many requests to add Trakt / Follow.it support to MP2. As I don't use those services, I need some help in understanding how they work.
So far I've seen, they provide:
Now we come to the point, how we could port the features to MP2 world:
I think in MP2 we have only one source for media information: the MediaLibrary (ML). We don't have x plugins to support like in MP1.
Dealing with the "watched" state would involve different parts:
The IUserProfileDataManagement provides methods to deal with user accounts (currently we implicitely use ClientPC == User), to store common user data and also mediaitem specific data.
As the online services reqiure authentification, we need to store user credentials in the profile.
So my questions are:
Is my understanding of the services correct? What important features I missed?
@ltfearme what do you think: can we use your(?) trakt api? Can it be made available separately, or could it be integrated into MP2 OnlineLibraries collection? (I think @chefkoch thought about this?) Edit: found the thread with the ideas: https://forum.team-mediaportal.com/...aries-open-the-source-in-a-better-way.117705/
Please provide feedback, not only from dev's but also users point of view!
Testbuilds
2014-03-08:
there were many requests to add Trakt / Follow.it support to MP2. As I don't use those services, I need some help in understanding how they work.
So far I've seen, they provide:
- user registration
- ability to upload your details about movies and series
- synchronize the "watched" indicator of items
Now we come to the point, how we could port the features to MP2 world:
I think in MP2 we have only one source for media information: the MediaLibrary (ML). We don't have x plugins to support like in MP1.
Dealing with the "watched" state would involve different parts:
- A plugin would need to be informed, that a MediaItem was played back. We already have 2 kind of this notifications:
- on playback start the ML (global) will be notified and updates the PlayCount attribute
- on playback end the UserService (so user dependent) sends "resume state" to server, it persists it in mediaitem-user table
- For (re-)imports of media the used MetaDataExtractors (MDEs) first detect the kind of video (series, movie), then it would be possible to ask the Trakt API if the item was watched already
The IUserProfileDataManagement provides methods to deal with user accounts (currently we implicitely use ClientPC == User), to store common user data and also mediaitem specific data.
As the online services reqiure authentification, we need to store user credentials in the profile.
So my questions are:
Is my understanding of the services correct? What important features I missed?
@ltfearme what do you think: can we use your(?) trakt api? Can it be made available separately, or could it be integrated into MP2 OnlineLibraries collection? (I think @chefkoch thought about this?) Edit: found the thread with the ideas: https://forum.team-mediaportal.com/...aries-open-the-source-in-a-better-way.117705/
Please provide feedback, not only from dev's but also users point of view!
Testbuilds
2014-03-08:
- First version, Configuration, Scrobbling of Movies and Series Episodes
- Download: http://tinyurl.com/o8affmu
- Attached updated plugins for MP2-Client only
Attachments
Last edited: