Fixing sharing for Cloudstream.
Describe your suggested feature
(Not search icon btw)
Whenever I share a movie with a freind I always get a random string that means nothing.
Eg:
{"id":945961,"type":"movie","aniId":null,"malId":null}
{"id":"tt2049403","type":"movie"}
Fix?
We could use openable links that are being used already that automatically installs the extension eg:
https://self-similarity.github.io/http-protocol-redirector?r=cloudstreamrepo://raw.githubusercontent.com/self-similarity/MegaRepo/builds/repo.json
With some modification we could instead allow it to read it so sharing works. Eg:
https://self-similarity.github.io/http-protocol-redirector?r=cloudstreamrepo://{extension}.cs/Id=65676466&type=movie& etc....
Where extension is the name of the extension its from. Eg if you don't have the extension installed it would just say: extension not installed to open this link.
I don't know if it's supposed to be for extension owners or cloudstream devs so I decided to post here.
Funny number yes
Other details
No response
Acknowledgements
- [X] My suggestion is NOT about adding a new provider
- [X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
This is an extension issue, as normally extensions are tied to a single website and therefore a share means that you simply share the website url. The extension you are using is not tied to a single website, so the metadata it uses is not a real url. While I think that some redirect is nice, you can right now copy the title instead and send it by long holding it, so this is not really a big issue.
If you want to add some functionality then checkout https://github.com/recloudstream/cloudstream/blob/master/app/src/main/java/com/lagradost/cloudstream3/MainActivity.kt#L268