Jump to content

Problm playng file strm


Recommended Posts

Posted

Hi, the server hosting the media is sending back a 403 forbidden response.

Hispanico957
Posted
56 minutes ago, Luke said:

Hi, the server hosting the media is sending back a 403 forbidden response.

Sry but trough browser no problem to play.

So i think the problem is related Emby, because if it was a 403 problem it wouldn't work with the browser either

 

Hispa

 

P.S.

I dont use vpn and all files are in Italy, where i have connection fiber

Posted
10 hours ago, Hispanico957 said:

Sry but trough browser no problem to play.

So i think the problem is related Emby, because if it was a 403 problem it wouldn't work with the browser either

 

Hispa

 

P.S.

I dont use vpn and all files are in Italy, where i have connection fiber

Can you ask them why they're sending back 403 forbidden? Maybe they're using that as a way to reject based on certain conditions. They might be trying to detect what kind of software is streaming from their site.

Hispanico957
Posted

I ask and no rule reject... I try the url trough web browser and also with kodi and playing is fine. 

So the problem or bug is Emby user agent sure, please fix it or find workaround. 

Thank 

Hispa 

Posted
35 minutes ago, Hispanico957 said:

I ask and no rule reject... I try the url trough web browser and also with kodi and playing is fine. 

So the problem or bug is Emby user agent sure, please fix it or find workaround. 

Thank 

Hispa 

What exactly did you ask them? What exactly did they say?

Hispanico957
Posted
37 minutes ago, Luke said:

What exactly did you ask them? What exactly did they say?

I can tell you that those links redirect to the actual URL that contains the video stream. Maybe for some reason it's not doing that on Emby, 

That is, Emby can't handle it.

 

Hispa

Happy2Play
Posted

Emby cannot probe the media to get media info so it will not be able to play it.

 

Quote

{"Protocol":"Http","Id":"895635555705182190e17027e855b4c8","Path":"https://xxxxxxxxxvod.xxx.it/relinker/relinkerServlet.htm?cont=p4xVn4xYLjZ16MAhiUWrPQeeqqEEqualeeqqEEqual","Type":"Default","Container":"strm","Size":0,"Name":"[RaiPlay]","IsRemote":true,"HasMixedProtocols":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":false,"MediaStreams":[],"Formats":[],"RequiredHttpHeaders":{},"AddApiKeyToDirectStreamUrl":false,"ReadAtNativeFramerate":false,"ItemId":"417931"}

 

2025-07-06 12:26:45.395 Error App: Error in ffprobe
	*** Error Report ***
	Version: 4.8.11.0
	Command line: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/system/EmbyServer.dll -programdata /share/CACHEDEV1_DATA/.qpkg/EmbyServer/programdata -ffdetect /share/CACHEDEV1_DATA/.qpkg/EmbyServer/bin/ffdetect -ffmpeg /share/CACHEDEV1_DATA/.qpkg/EmbyServer/bin/ffmpeg -ffprobe /share/CACHEDEV1_DATA/.qpkg/EmbyServer/bin/ffprobe -defaultdirectory /share/CACHEDEV1_DATA/Public -updatepackage emby-server-qnap_{version}_x86_64.qpkg
	Operating system: Linux version 5.10.60-qnap (root@mini-builder-01) (x86_64-QNAP-linux-gnu-gcc (toolchain config: [gcc-4.9.2 binutils-2.25 glibc-2.21]) 4.9.2, GNU ld (G
	Framework: .NET 6.0.36
	OS/Process: x64/x64
	Runtime: share/CACHEDEV1_DATA/.qpkg/EmbyServer/system/System.Private.CoreLib.dll
	Processor count: 2
	Data path: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/programdata
	Application path: /share/CACHEDEV1_DATA/.qpkg/EmbyServer/system
	Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: Emby.Server.MediaEncoding.Unified.Ffmpeg.FfRunException: ffprobe failed - streams and format are both null: -i "https://mediapolisvod.rai.it/relinker/relinkerServlet.htm?cont=hvpPpPlusslUssSlashonynseeqqEEqual" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
	ffprobe version 5.1-emby_2023_06_25 Copyright (c) 2007-2022 the FFmpeg developers and softworkz for Emby LLC
	  built with gcc 10.3.0 (crosstool-NG 1.25.0)
	[https @ 0x20bf280] HTTP error 403 Forbidden
	https://xxxxxxxxxvod.xxx.it/relinker/relinkerServlet.htm?cont=hvpPpPlusslUssSlashonynseeqqEEqual: Server returned 403 Forbidden (access denied)
	
	
	{
	
	}
	   at Emby.Server.MediaEncoding.Probing.MediaProbeManager.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, String userAgent, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Boolean hasMixedProtocols, CancellationToken cancellationToken)
	   at Emby.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](MetadataResult`1 metadataResult, MetadataRefreshOptions options, LibraryOptions libraryOptions, CancellationToken cancellationToken)
	   at Emby.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, MetadataResult`1 itemResult, String logName, MetadataRefreshOptions options, LibraryOptions libraryOptions, RefreshResult refreshResult, CancellationToken cancellationToken)
	Source: Emby.Server.MediaEncoding
	TargetSite: Void MoveNext()

 

Posted

@Hispanico957can you ask the owner of that server why they are sending back 403 forbidden?

Hispanico957
Posted
On 7/11/2025 at 9:03 PM, Luke said:

@Hispanico957can you ask the owner of that server why they are sending back 403 forbidden?

I was doing some research and unfortunately I'm afraid that there's nothing more you can do on the individual strm files than insert the link, but you can adopt workarounds by creating scripts or proxies or plugins that can make the http request with user agent or various other things and recover the real stream.

I think the emby community has been asked to provide the ability to perform this kind of operation but it has probably not been studied or implemented yet.

 

Hispa

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...