llelectronics / videoPlayer

Video player for sailfish os
27 stars 19 forks source link

integrate mediathekview #27

Closed fuchsmich closed 5 years ago

fuchsmich commented 5 years ago

Hi Leszek,

Do you think it makes sense integrating mediathekview, like you integrated youtube?

greetz, Michael.

llelectronics commented 5 years ago

There is a new app for mediathekview specifically. I leave it as enhancement here for now. Lets see how this other player will evolve.

fuchsmich commented 5 years ago

Where can I find it?

llelectronics commented 5 years ago

https://github.com/zwieberl/harbour-fishtheke

fuchsmich commented 5 years ago

Haha, nice name for the app.

zwieberl commented 5 years ago

Hi, author of fishtheke here. We have had a quite lengthy discussion about how to integrate with videoPlayer. I've come down to using dbus, if possible. This already works for "Jolla gallery" and jupii, which both provide a way to play/add URLs via dbus (jupii can serve as a reference, as it has a very simple, but sufficient interface).

It would be really nice, if videoPlayer could provide a dbus-interface similar to Jolla gallery, which is even started automatically if not already running. Then any app (e.g. fishtheke) could simply check if videoPlayer is installed, and if so, send URLs/Files to it to be played.

Might this be feasable?

llelectronics commented 5 years ago

I am not planning to add dbus stuff but I am open for pull requests for people that like to do that. The approach currently used also by webcat is to call LLs Video Player with the URL as argument. I saw that it was discussed and not choosen as you want to have this universal accessible also for other applications. IMHO all video players should be able to accept URLs as arguments.

zwieberl commented 5 years ago

Forgot to mention: The latest version of Fishtheke now starts videoPlayer as Webcat does (via commandline).