Skip to content

Ability to play local files (also for tests) #27

@Stypox

Description

@Stypox

It would be cool if the player could play local files because:

  • maybe in the future we might want to add a "local-filesystem" service to NewPipe?
  • it would be very useful to make integration tests where many actions happen, e.g.:
    • user adds video to queue from menu, then closes app, then adds another video from RouterActivity/sharemenu, then pauses, goes to next video and back prev, ...
    • then we want to check which video is currently selected, which progress it has, ...
    • this would allow defining rigorously how some actions should behave (e.g. should going to next and then back to prev restore the progress, or start anew from 0:00?)

Some considerations:

  • there are way too many file formats and codecs to be able to play them all, so we should focus just on formats and codecs directly supported by ExoPlayer
  • for tests an even more basic set of supported formats would suffice (e.g. only .webm)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions