Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
How to stop strm file names from changing?
#1
In this thread is described how I managed to create strm files pointing towards video players streaming real-time video embedded on a regular webpage.
With the solution found KODI (on Raspberry Pi3 running OSMC) can play the video stream directly on my TV.

So now I have a script that populates a number of strm files into a folder on my media disk on the RPi3 so I can play any of them by selecting with the remote.

The problem I am trying to solve now concerns the names displayed by KODI when navigating the disk:
When I enter the folder (using Video/Files/<source>/<folder>/) I see these strm files by the name I have set for them on the file system. There are also strm files for mp4 videos on my system.
But when I start one of the streaming video strm files and then stop the playback the name shown in the file listing has changed to index.m3u8, which is the very last part of the URL inside the strm file. Several of my streams end in this and so now display the exact same on the file listing....
All other strm files pointing to fixeded mp4 files keep their names as do all of my other media in other folders directly ponting to on-disk mp4 files.

Why does this happen only to the strm fiiles pointing to an Internet based m3u8 source of a real-time stream?
How can I fix it such that it does not happen anymore?

Notice:
These strm files are constantly rewritten since the Internet stream URL changes over time. A different internal ID number code appears maybe every hour or so, so I am updating the strm files automatically every hour.
This system is not using any library functionality since both the mp4 files and the strm files are volatile and replaced within a day or so.
And I have already told KODI in settings to NOT change the file names depending on content...
I have asked on the OSMC forum but they refer to this forum since it is a KODI issue, not specifically for OSMC.

Help appreciated!
Bo Berglund
Sweden
Reply

Logout Mark Read Team Forum Stats Members Help
How to stop strm file names from changing?0