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

Add live links resolving #648

Closed
wants to merge 1 commit into from

Conversation

danielkucera
Copy link

Adds resolving live links in format /live/<video_id>.*

Adds resolving live links in format <youtube>/live/<video_id>.*
@MoojMidge
Copy link
Collaborator

Do you make use of the ability to load this plugin as a module to resolve Youtube urls?

I think utilising the url resolver and converter, that is used by the main plugin, would be a better way to extend the functionality of the module, if you are willing to give it a go?

@danielkucera
Copy link
Author

I got lost... I thought this would solve my issue but it doesn't.
When I play live links, it ends like this:

2024-03-28 23:28:23.762 T:3663     info <general>: VideoPlayer::OpenFile: https://youtube.com/live/2l2to5giV0w
2024-03-28 23:28:23.959 T:6740     info <general>: Creating InputStream
2024-03-28 23:28:25.834 T:6740     info <general>: Creating Demuxer
2024-03-28 23:28:26.400 T:6740    error <general>: Open - error probing input format, https://consent.youtube.com/ml?continue=https://www.youtube.com/live/2l2to5giV0w?cbrd%3D1&gl=SK&hl=sk
&cm=2&pc=yt&src=1
2024-03-28 23:28:26.400 T:6740    error <general>: OpenDemuxStream - Error creating demuxer

Which part of the code should I adjust?

@MoojMidge
Copy link
Collaborator

Which part of the code should I adjust?

You don't need to, it already fully works, but you are not using this plugin.

If you have a problem, open an issue next time and provide the requested details.

It is not clear what you are trying to achieve, or how exactly, but from the snippet of the log, you are trying to use Kodi to open a website url.

Have a read here #579 (comment) for some related discussion.

Kodi is not a web browser, and assumes that the url you are providing it is a video stream url and tries to play it, which obviously won't work.

@MoojMidge MoojMidge closed this Mar 28, 2024
@danielkucera
Copy link
Author

@MoojMidge , sorry for bothering, this is actually the answer to my problem:
xbmc/Kore#1010 (comment)

@MoojMidge
Copy link
Collaborator

No problem, hopefully the changes can be made to Kore to resolve the problem.

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

Successfully merging this pull request may close these issues.

2 participants