Failed to read .strm file from Plex

What is inside the strm file? Is it a single link?

one url

yes,a single link

If possible, could you send in the problematic file using this link?

I created a .strm file with the content ‘https://videos.pexels.com/video-files/1409899/1409899-uhd_3840_2160_25fps.mp4’, which can be played normally in other players that support .strm files. However, in Infuse, when I play this .strm file through the Plex media library, it shows the error ‘Failed to read .strm file (File size exceeds limit (56807332 bytes))’. If I add this .strm file via WebDAV, it plays the video normally, but after the video finishes, it shows the error ‘.strm file does not contain a valid URL’. If I use a video URL with a 302 redirect function, whether using Plex server or WebDAV to add the .strm file with the 302 redirect URL, Infuse cannot play it and shows the same error as mentioned earlier.

Addition: Even with the 302 redirect feature disabled, Infuse still seems unable to play .strm files containing video file URLs from my self-hosted WebDAV server, with the same error as before.

Edit: The .strm files of videos on my self-hosted WebDAV server, which were added via WebDAV, can now be played properly. The previous issue was that my URL was not URL encoded. However, there is still an issue when playing .strm files via Infuse connected to the Plex server. It seems that Infuse doesn’t directly read the video URL in the .strm file to play it, which leads to playback issues (since Plex itself doesn’t support streaming .strm files). In contrast, other players like VidHUB or HAMHUB can directly read the video URL in the .strm file, even when connected to the Plex server, allowing them to play the .strm files despite Plex not supporting it. I hope Infuse can optimize this logic.

Currently, Infuse supports playing strm files directly from the added file sources, but it does not support playing strm files via a connected third-party server. For example, the strm files in the Plex media library cannot be played within Infuse at present, and an error will occur. When will this issue be resolved? @james

Is the link in the STRM file a web link or a local file link?

It is an strm file with the content being a web link. The same file can be played when added to Infuse via a network disk or WebDAV, but it cannot be played when added through a Plex server.

This may be a Plex limitation but we will take a look and see what can be done.

1 Like

OK, thank you. The problem is that regardless of the file size, it will always prompt that the limit has been exceeded. For example, the video I tested is only 56.8MB, but it still shows the prompt of exceeding the limit. Even if the file is smaller, this prompt still appears.

In addition, why does this have anything to do with Plex? If the file is an strm file, Infuse should directly obtain the address within the strm file and use this address for playback directly. This process should have nothing to do with Plex, just like when an strm file is added via a network disk or WebDAV. But now this process is associated with Plex. However, the Plex application itself does not support playing strm files. If Infuse could directly play from the address in the strm file, then this problem would not occur.

Edit: Moreover, since the Plex server cannot recognize the size of the file within the strm file, the file size displayed for the strm file after it is added to the Plex media library is the size of the strm file itself, for example, 220.00 bytes, rather than the size of the video at the address within the strm file. Perhaps the prompt of exceeding the size limit is related to this.

James,你好

我也是播放strm文件时候直接提示:[发生错误,加载此内容时发生错误],如果直接用emby网页端却没问题,infuse添加的文件来源是【其他Emby】

谢谢,

Phinsin

Mod Edit for translation:

James, hello

When I play the strm file, I get the following message: [Error occurred when loading this content], but it works fine if I use the emby web page directly. The file source added by infuse is [Other Emby]

Thank you,

Phinsin

1 Like

Please also post in English so that more users can benefit from your contributions. Also you may get an answer sooner from others who have had the same problem.

也请用英文发布,以便更多用户可以从您的贡献中受益。 此外,您可能会更快地从遇到同样问题的其他人那里得到答案。

okay,My bad!