Wiki Navigation
- Loading...
Overview
Additional to the global metadata like title or summary each media item might have data related to a specific user. This pages describes some of them including some usage scenarios and ideas for new developments.
Current State
This page (incl. sub pages) is an overview and a reference. Some things might be implemented already, other are still missing.
Note: when adding more user-specific data, the user management service should be used instead of extending MediaAspects!
Details
What is currently stored? (MP2-Alpha 3)
If playback of a MediaItems ends and the player supports resuming playback, the required resume information will be saved per user in MP2-Server user profile.
The required information to resume playback are different for each player: VideoPlayer is able to resume playback by setting video position only, while DVDPlayer requires to restore binary data. That's why the kind of resume information is not directly dependend to the MediaItem, but to the Player.
Handling resuming playback
- Resume feature is independend from the MediaAspects, but depending on the used player
- Resume handling is implemented for:
- VideoPlayer
- DVDPlayer
- "Resume position":
- The required informations are player dependend (simple "number of seconds" or binary data for DVDPlayer)
- The player is responsible to decide when to store position and when not: VideoPlayer clears resume position, if playback progress is >= 99%
- Sending "Resume position" to server:
- A serialized instance of a specialized "ResumeStateBase" is sent via the UPnPUserProfileDataManagementServiceProxy to server where it gets stored per MediaItemId
- User interactions on playback start:
- Interactive mode when browsing MediaLibrary: a dialog is shown, asking user to resume or start from beginning.
- Playlist mode: if there is a playlist running, no dialog will be shown
Here is a list of user specific meta data for a media item:
Legend: Implemented via UserManagement | Implemented via MediaAspects | Not Implemented yet
| MP2 MediaAspect | MP2 AspectAttribute | Description | Data type | Unit | Status |
---|---|---|---|---|---|---|
Watched |
|
| Whether the user has completely watched the media already or not. | Bool | watched = 1 / yes / true unwatched = 0 / no / false |
|
Rating | Rating | A rating | Float | see Ratings |
| |
ResumeTime |
|
|
| see details |
| MP2 Alpha 3 |
PlayCount | PlayCount |
| Int |
|
| |
LastPlayed | LastPlayed |
| DateTime |
|
| |
FirstPlayed |
|
| The time the user has watched the media the first time. | DateTime |
|
|
Use cases
Resources for existing value of this meta data can be the media items itself (file, i.e. POPM frame in MP3 ID3 tag) or online resources.
Setting and getting the meta data, usage for filtering etc and presentation to the user should be part of the core functionaly of MediaPortal 2.
Legend: Implemented via UserManagement | Implemented via MediaAspects | Not Implemented yet
UserData | Use case | Status / Comment |
---|---|---|
Rating | Rating media after playback (dialog) |
|
Rating | Rating media during playback (context menu) |
|
Rating | Rating media within 'Now playing' / 'Current media screen' (numpad / numbers) |
|
Rating | Rating media while browsing (context menu) |
|
PlayCount | Increasing PlayCount on playback start |
|
Watched | Setting watched after specific (i.e. 90%) percentage of total playtime has been played. | ????????????? |
ResumeTime | Setting resume time when stopping video. |
|
|
|
|
|
|
|
This page has no comments.