Skip to content

add share extension for YouTube urls#1329

Draft
Gaffen wants to merge 1 commit intoxbmc:masterfrom
Gaffen:feature/youtube-share-extension
Draft

add share extension for YouTube urls#1329
Gaffen wants to merge 1 commit intoxbmc:masterfrom
Gaffen:feature/youtube-share-extension

Conversation

@Gaffen
Copy link

@Gaffen Gaffen commented Sep 26, 2025

Adds Share Extension and initial logic to check if url is from YouTube - call of JSONRPC API needs integration.

Description

These changes make the kodi remote app appear when sharing URLs. At the moment, choosing to share doesn't actually do anything. I imagine before merging a SwiftUI View will need to be made in order to choose between whether the use wants to queue or play the item immediately

Summary for release notes

Adds share extension for YouTube urls to kodi remote

@kambala-decapitator kambala-decapitator marked this pull request as draft September 26, 2025 13:32
@kambala-decapitator kambala-decapitator changed the title DRAFT: adds share extension for YouTube urls to kodi remote add share extension for YouTube urls Sep 26, 2025
@kambala-decapitator
Copy link
Collaborator

I don't understand what's the point of mixing UIKit (the view controller that you have) and SwiftUI. Choose a single UI framework.

@Gaffen
Copy link
Author

Gaffen commented Sep 26, 2025

No worries at all - most of this was attempting to understand how to implement the feature. I'll update as soon as I can; before UI I want to work out how best to send the JSON-RPC request. There's actually no UI whatsoever that has been implemented yet.

@kambala-decapitator
Copy link
Collaborator

I want to work out how best to send the JSON-RPC request

main app already has such code. Extract it into a (dynamic) framework and link it to both app and extension.

@Gaffen
Copy link
Author

Gaffen commented Sep 26, 2025

Yeah I was looking at the tcpJSONRPC class - will investigate and hopefully update this pull request again soon.

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