Jellyfin Forum
SOLVED: DLNA v.3/10.10.0 - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: DLNA v.3/10.10.0 (/t-solved-dlna-v-3-10-10-0)



DLNA v.3/10.10.0 - Rip - 2024-10-26

I jumped on the version upgrade, afterwhich I discovered that DLNA wasn't working. Here is a small snippet from my log file:
Code:
[2024-10-26 14:40:24.454 -07:00] [ERR] Error creating PlayTo device.
System.MissingMethodException: Method not found: 'MediaBrowser.Controller.Session.ISessionController[] MediaBrowser.Controller.Session.SessionInfo.get_SessionControllers()'.
  at Jellyfin.Plugin.Dlna.PlayTo.PlayToManager.AddDevice(UpnpDeviceInfo info, CancellationToken cancellationToken)
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
  at Jellyfin.Plugin.Dlna.PlayTo.PlayToManager.AddDevice(UpnpDeviceInfo info, CancellationToken cancellationToken)
  at Jellyfin.Plugin.Dlna.PlayTo.PlayToManager.OnDeviceDiscoveryDeviceDiscovered(Object sender, GenericEventArgs1 e)

The repeated System.MissingMethodExceptionerror indicates that the PlayTofunctionality in the Jellyfin DLNA plugin is attempting to call a method (SessionInfo.get_SessionControllers() ) that no longer exists in the Jellyfin core.

This is likely due to plugin-core incompatibility: the DLNA plugin expects a method in the Jellyfin core that has been modified or removed in the version of Jellyfin I am using.
Thoughts?


RE: DLNA v.3/10.10.0 - TheDreadPirate - 2024-10-27

What client is using DLNA? I was able to get DLNA to work with VLC (the only DLNA client I have available) on server 10.10.0 and DLNA plugin v3.

Can you share your full log via pastebin?


RE: DLNA v.3/10.10.0 - crobibero - 2024-10-27

There is a DLNA plugin v4 what was somehow tagged as being v3, I hope to have some time in the very near future to fix this. For now you can manually download the zip from the release and the plugin should work as expected.


RE: DLNA v.3/10.10.0 - Rip - 2024-10-27

OK. I am accumulating relevant info for you. I have just performed another clean installation of 10.10.0 and am re-creating my libraries whilst I await a response.
I notices that there is a DLNA v.4 in the plug-in catalog. Is that the one you are referring to?
Revision history says it is v.4.0.0.0.


RE: DLNA v.3/10.10.0 - crobibero - 2024-10-27

Yes, I fixed the version and v4 is now correctly available.


RE: DLNA v.3/10.10.0 - Rip - 2024-10-27

UPDATE: DLNA plugin v.4.0.0.0 SOLVED MY ISSUE
DLNA v.4.0.0.0 was pushed out this morning at 06:15:22.
I am looking at the excellent results on my mega-tron! (not).
Thank you, crobibero, and other devs involved in this awesome project.

Jellyfin v.10.10.0 DLNA v.4.0.0.0 
[2024-10-27 07:15:04.563 -07:00] [INF] Available hwaccel types: ["cuda", "vaapi", "qsv", "drm", "opencl", "vulkan"]
[2024-10-27 07:15:07.350 -07:00] [INF] "Clean Transcode Directory" Completed after 0 minute(s) and 0 seconds
[2024-10-27 07:15:07.413 -07:00] [INF] "Clean up collections and playlists" Completed after 0 minute(s) and 0 seconds
[2024-10-27 07:15:07.523 -07:00] [INF] FFmpeg: "/usr/lib/jellyfin-ffmpeg/ffmpeg"
[2024-10-27 07:15:07.523 -07:00] [INF] ServerId: "01b5454261154426acc9827705f06937"
[2024-10-27 07:15:07.523 -07:00] [INF] Core startup complete
[2024-10-27 07:15:07.523 -07:00] [INF] Startup complete 0:00:04.1132343
[2024-10-27 07:15:08.049 -07:00] [INF] "Update Plugins" Completed after 0 minute(s) and 0 seconds
[2024-10-27 07:18:53.975 -07:00] [INF] WS "192.168.1.127" request
[2024-10-27 07:19:05.984 -07:00] [INF] User policy for "jellyfin". EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True


RE: DLNA v.3/10.10.0 - JobKlimop - 2024-10-28

(2024-10-27, 02:16 PM)crobibero Wrote: Yes, I fixed the version and v4 is now correctly available.

Are you sure some stuff didn't get mixed up?
I just installed v3.0.0.0 on Jellyfin 10.9.11 (Truenas doesn't have the 10.10.0 update available yet).
But the plugin seems to be under the impression it should be targeting the MediaBrowser.Controller of version 10.10.0:

Code:
[2024-10-28 13:27:24.238 +01:00] [ERR] [16] Emby.Server.Implementations.Plugins.PluginManager: Failed to load assembly "/config/plugins/DLNA_3.0.0.0/Jellyfin.Plugin.Dlna.Playback.dll". This error occurs when a plugin references an incompatible version of one of the shared libraries. Disabling plugin
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

Could not load file or assembly 'MediaBrowser.Model, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

Could not load file or assembly 'MediaBrowser.Model, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

Could not load file or assembly 'MediaBrowser.Model, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

Could not load file or assembly 'MediaBrowser.Model, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

Could not load file or assembly 'MediaBrowser.Model, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

  at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
  at System.Reflection.RuntimeModule.GetTypes()
  at Emby.Server.Implementations.Plugins.PluginManager.LoadAssemblies()+MoveNext()
System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'MediaBrowser.Controller, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Model, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'MediaBrowser.Model, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Model, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'MediaBrowser.Model, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Model, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'MediaBrowser.Model, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Model, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'MediaBrowser.Model, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'
System.IO.FileNotFoundException: Could not load file or assembly 'MediaBrowser.Model, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

File name: 'MediaBrowser.Model, Version=10.10.0.0, Culture=neutral, PublicKeyToken=null'



RE: DLNA v.3/10.10.0 - disgustipated - 2024-10-28

@JobKlimop try this build artifact to get you by until you can get server 10.10. it should be the one that will work with 10.9 server and still include the ssdp changes that are part of v4 that makes dlna discovery work. the v3 thats in the catalog is not good to use, seems it got overwritten with the push, v4 works but needs 10.10 it seems

https://github.com/jellyfin/jellyfin-plugin-dlna/actions/runs/11473845690


RE: DLNA v.3/10.10.0 - crobibero - 2024-10-28

Sorry about that, we've restored the original v3 zip.