cloudstream icon indicating copy to clipboard operation
cloudstream copied to clipboard

Fixing sharing for Cloudstream.

Open ITron-Legends opened this issue 1 year ago • 1 comments

Describe your suggested feature

Screenshot_2024-10-21-16-57-13-14_c31b32364ce19ca8fcd150a417ecce58 (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.

ITron-Legends avatar Oct 21 '24 12:10 ITron-Legends

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

fire-light42 avatar Oct 21 '24 14:10 fire-light42