Kodi Community Forum
18.5 can't stream .rar storaged files to android videoplayers. Used to work. - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: 18.5 can't stream .rar storaged files to android videoplayers. Used to work. (/showthread.php?tid=350579)



18.5 can't stream .rar storaged files to android videoplayers. Used to work. - snyft - 2020-01-01

Edit: I think i was on Leia when i could stream .rar storaged files via yatse on my android to mx player. Now it does not work for some reason.
Thought it was the encoding of paths but the creator of Yatse said it was removed in Leia? 
Is it removed? Why?

Old:
This makes paths/filename to long.
As an example in kodi:
rar://H%3a%5crar9%5ctv%5cParks%20and%20Recreation%5cSeason%203%5cParks.and.Recreation.S03E16.720p.HDTV.X264%5cparks.and.recreation.316.720p.rar/Parks.and.Recreation.S03E16.720p.HDTV.X264.mkv

in windows it is:
H:\rar9\tv\Parks and Recreation\Season 3\Parks.and.Recreation.S03E16.720p.HDTV.X264


RE: How do i make Kodi output the "correct" path instead of gibberish? - Karellen - 2020-01-01

Where is it being output to?


RE: How do i make Kodi output the "correct" path instead of gibberish? - snyft - 2020-01-01

(2020-01-01, 05:38)Karellen Wrote: Where is it being output to?

I guess the correct term is input then since it's in the logs and paths. English is not my main language sorry.
I thought output also was correct because my "correct" windows paths are the input and then kodi converts them and outputs the gibberish location.


RE: How do i make Kodi output the "correct" path instead of gibberish? - DarrenHill - 2020-01-01

It's actually not gibberish, it's encoding for special characters like : (%3a), \ (%5c) and spaces (%20).

For more details see here - https://www.w3schools.com/tags/ref_urlencode.asp


RE: How do i make Kodi output the "correct" path instead of gibberish? - snyft - 2020-01-01

(2020-01-01, 15:17)DarrenHill Wrote: It's actually not gibberish, it's encoding for special characters like : (%3a), \ (%5c) and spaces (%20).

For more details see here - https://www.w3schools.com/tags/ref_urlencode.asp

Why is it using encoding and can I do anything on my end to make it "normal"?


RE: How do i make Kodi output the "correct" path instead of gibberish? - black_eagle - 2020-01-01

(2020-01-01, 19:25)snyft Wrote: Why is it using encoding and can I do anything on my end to make it "normal"?

It is normal already.  Kodi is just using a standard internally that is consistent across the multiple platforms that it runs on.


RE: How do i make Kodi output the "correct" path instead of gibberish? - scott967 - 2020-01-02

When you see something like rar:// then you can expect it is a URL and follows URL encoding rules in many cases.  Copy or open your log in a decent text editor that can do URL decode for you.  Notepad++ or Sublime Text for example (you need to install appropriate plugins -- MIME tools for np++ or StringUtilities for ST).

scott s.
.


RE: How do i make Kodi output the "correct" path instead of gibberish? - snyft - 2020-01-03

(2020-01-02, 23:23)scott967 Wrote: When you see something like rar:// then you can expect it is a URL and follows URL encoding rules in many cases.  Copy or open your log in a decent text editor that can do URL decode for you.  Notepad++ or Sublime Text for example (you need to install appropriate plugins -- MIME tools for np++ or StringUtilities for ST).

scott s.
.
My main problem is that I can't stream rar files to mx player via yatse. I'm suspecting it's because of this encoding but I do not know. Any idea?


RE: How do i make Kodi output the "correct" path instead of gibberish? - asavah - 2020-01-03

(2020-01-03, 02:43)snyft Wrote: My main problem is that I can't stream rar files to mx player via yatse. I'm suspecting it's because of this encoding but I do not know. Any idea?
 

Don't use rars. Just unrar the content into a folder.
Using rars nowadays is pointless and even counterproductive - you won't use less diskspace because video files are already compressed by the video codecs and rar can't do any better job than the codecs themselves.
Using rars (or any archives) will add cpu overhead on the playing machine because it'll have to unrar on the fly in order to play the content.


RE: How do i make Kodi output the "correct" path instead of gibberish? - snyft - 2020-01-03

(2020-01-03, 18:02)asavah Wrote:
(2020-01-03, 02:43)snyft Wrote: My main problem is that I can't stream rar files to mx player via yatse. I'm suspecting it's because of this encoding but I do not know. Any idea?
 

Don't use rars. Just unrar the content into a folder.
Using rars nowadays is pointless and even counterproductive - you won't use less diskspace because video files are already compressed by the video codecs and rar can't do any better job than the codecs themselves.
Using rars (or any archives) will add cpu overhead on the playing machine because it'll have to unrar on the fly in order to play the content.

Thanks for the information but not using rar is not a viable option for me.
It's like telling someone with Mac to switch to Linux or Windows.

I don't understand why Kodi would remove features.


RE: 18.5 can't stream .rar storaged files to android videoplayers. Used to work. - DarrenHill - 2020-01-04

Have you got the rar and archive support addons installed and enabled? You should find them in the official repo under virtual filesystems.


RE: 18.5 can't stream .rar storaged files to android videoplayers. Used to work. - snyft - 2020-01-04

(2020-01-04, 00:47)DarrenHill Wrote: Have you got the rar and archive support addons installed and enabled? You should find them in the official repo under virtual filesystems.

Yes I have rar vfs installed. I can watch rar in Kodi but streaming it to my phone does not work.