Skip to content

MediaItem object must support additional parameters #179

@rohansohonee

Description

@rohansohonee

Is your feature request related to a problem? Please describe.
Currently the MediaItem object is very bare bones. This means that certain queue operations such as playnext do not work since there is no index.

Describe the solution you'd like
I would like certain additional parameters added to MediaItem object:

  1. index (int)
  2. url/file path (string)
  3. play count (int)
  4. last played (dateTime or int)

These are very common parameters and can help other developers from not needing to keep converting their custom object to the mediaItem object.

Describe alternatives you've considered
Currently i am converting my custom object to mediaitem object. But since index parameter is not present in mediaitem object i am unable to perform playnext operation in queue. playnext operation adds duplicate mediaitem's to the queue and thus index parameter is needed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions