open-tv icon indicating copy to clipboard operation
open-tv copied to clipboard

Option to not strip xtream URL path

Open safinn opened this issue 2 months ago • 5 comments

I have a use case that requires the xtream URL path to be kept intact instead of stripping the URL down to just the origin. The part doing this I have found to be here. Tivimate and iMPlayer for example both keep the path of the URL.

Example: URL: http://a.example.com/a/b/player_api.php Becomes: http://a.example.com/player_api.php

It would be awesome if the path was kept or the option provied 🙏

safinn avatar Oct 22 '25 21:10 safinn

That does make a lot of sense. I will look into it

Fredolx avatar Oct 23 '25 16:10 Fredolx

As long as you don't select the 'correct' option, it should keep the URL as-is.

Fredolx avatar Oct 23 '25 16:10 Fredolx

https://github.com/user-attachments/assets/4cd4d6fd-f0d3-4afa-aa21-49a9cb1ea696

Fredolx avatar Oct 23 '25 16:10 Fredolx

come to think about it, your concern is relevant for channel url formatting, which uses the origin

Fredolx avatar Oct 23 '25 16:10 Fredolx

You mean this part constructs the channel url using the origin? My use case would be expecting http://a.example.com/a/b/streamType/testUsername/testPassword/channelID.ts for channel formating. Similarly, using the full url of the source instead of only the origin would work. This is how tivimate treats it for example.

safinn avatar Nov 17 '25 09:11 safinn