Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Add compatibility with DuffYou addon #947

Open
Josagulop opened this issue Dec 11, 2022 · 0 comments
Open

[Feature request] Add compatibility with DuffYou addon #947

Josagulop opened this issue Dec 11, 2022 · 0 comments

Comments

@Josagulop
Copy link

Detailed description
Currently, kore let you to send youtube links to Kodi and then these are play by YouTube official addon. There are other addons that play YouTube contents as DuffYou. It would be ideal to add the possibility to include a selection window to choose to which addon want you to send the link, not only for the YouTube - DuffYou case, but also for other addons as Twitch or Vimeo.

Context
I have used a lot the funcionality of send youtube links to Kodi, but for some weeks the YouTube addon has stopped working while DuffYou still play videos, but I can't send links from my smartphone.

Possible Implementation
In this website there is a description but it is in spanish. Essentially, I presume the steps to add this funcionality, at least from a backend point of view, are:

  1. Add these lines to the addon.xml file
  1. Invoke play function:

import duffyou
duffyou.play(id, title="", plot="", thumb="")

being only mandatory the 'id' argument, which is the code after the equal sign. For example, in:

https://www.youtube.com/watch?v=MQWNuNRPU6c

The id will be:

id = MQWNuNRPU6c

Remark: In case of lists, the id will be 'list=qclWIFxq2F4'.

  1. (Not pretty sure about this) Invoke the resolver function:

import duffyou
url, title, plot, thumb = duffyou.resolver(id, title="", plot="", thumb="")

End of this issue
I don't know if DuffYou is considered a banned addon. Sorry in that case and delete this request, but the extension to send links from vimeo or twitch remains despite I have no idea how to implement it.

Also, I am still trying to solve my problem with the official YouTube addon, knowing that has nothing to do with Kore neither with my request, which is something I have had in mind for a long time.

Thanks in advance.

@Josagulop Josagulop changed the title Add compatibility with DuffYou addon [Feature request] Add compatibility with DuffYou addon Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant