[PLUGIN] Jellyfin

Gday, Sorry, previous post was in error. I have jellyfin 10.7.7 running on the same Pi as Volumio 3. I’ve installed the plugin and can connect to the Jellyfin server and browse artists/albums etc and songs play fine however no playlists are found/displayed. In jellyfin itself the playlists exist and are playable. The media disk just has a folder called “playlists” with m3u files. What am I missing? Where can I look for errors and/or misconfigurations?

This is something I might have missed when writing the plugin, mainly because I don’t have m3u files in any of my libraries. Could you pm me a sample m3u file so I can have a look and do something similar with my Jellyfin setup?

Have done. Is there another/better way to make playlists? My music collection started around 2003. :slight_smile: I’d like to keep the m3u playlists for compatibility with other players/systems but if its a showstopper for this plugin Im happy to do something differently. I have a few hundred playlists though so hopefully there’s an automated solution!

I would need a little bit of time to figure this out. If Jellyfin is able to show and play these m3u lists, then I should have this in the plugin too.

1 Like

Hey, no stress, you’re a legend for building this plugin! in the Oct21 post above, what type of playlist is that showing? perhaps I can just convert my m3u’s into that format?

BIG WIN: Heres what I found. I went into Jellyfin selected “Music” then the “Playlists” tab. This is how i normally find my playlists. I then selected a playlist and selected “add to playlist”. I created “Test Playlist” with that playlists contents. When I went back to jellyfin a new box was next to “Music” called “Playlists” (!!!) So I went back into the volumio plugin and voila! they are all there. So you just have to create one playlist to “kick” JF to display the playlist box containing all the m3u playlists… BUT. The order is still borked. They do not play in the order that they are listed in JF. I believe this is a JF issue though because if I “cast” the playlist to volumio exactly the same thing happens, however your plugin is not involved. So it seems there are two JF issues here and none for you. Thanks for all your help and Im sorry for wasting your time.

1 Like

Hi, apologies for newbie question…

I am not sure how to connect the plug-in to the Jellyfin server that I have set up on my PC, which is running Windows 10.

The Jellyfin server name is DELL-DESKTOP, so should I add ‘http://DELL-DESKTOP:8096’ or just ‘DELL-DESKTOP:8096’ ?

Do I need to include my Windows password and username - which for Windows 10 is my Microsoft username and password, I believe?

I have tried all options but no music shows up.

I guess Quick Connect is not an option

You need to include http://... in the server URL.

No, the username and password should be the one you use for logging into your Jellyfin server, not Windows.

I am not sure if http://DELL-DESKTOP:8096 is reachable outside of Windows environment. I have not touched Windows in quite a while, with Linux being my daily driver. Have you tried connecting to this URL with the Jellyfin mobile app? I would also suggest that you simply enter the IP address of your server, e.g. http://192.168.x.x:8096 as IP addresses should be reachable within the same network unless Windows blocked the requests.

Thanks, sorted. I got confused over passwords and had to reset my Jellyfin server password. Now connected with the server’s local IP address.

Hi, thank you for the wonderful plugin. Just one thing makes me sad : there’s no folder view there.
Could you implement it ?

Volumio

Browser

Folders were something I neglected when writing the plugin cuz I wasn’t aware there’s a “Folder View” in Jellyfin. I’ll see what can be done…

Jellyfin plugin v0.1.8 uploaded to beta channel. This version adds Folder View support.

To install this beta version:

  • Uninstall existing Jellyfin plugin (if any).
  • Restart Volumio.
  • Make sure you have enabled “Plugins Test Mode” in http://<your volumio address>/dev.
  • Go to plugin store, then click “Details” button under “Jellyfin".
  • Install v0.1.8 (beta)

@Abagian , would you be able to test this? I don’t use Folder View myself and have only conducted some simple tests. Not sure if I have missed anything important…

3 Likes

@patrickkfkan , I just installed and tested the v0.1.8 beta.

For me it is not possible to browse the folders in a hierarchical way. I think that was most likely the intention of the request @Abagian made.
In the ‘Administration - Dashboard - Libraries - Display’ section on the Jellyfin server UI you can switch on the following option:

Display a folder view to show plain media folders

Display folders alongside your other media libraries. This can be useful if you'd like to have a plain folder view.

This gives you within the Jellyfin UI under ‘My Media’ a new listing named ‘Folders’ with the possibility to browse it in a hierarchical way.

When clicking on ‘Folders’, you will see all folders on the added libraries/share/disk:

Clicking on e.g. ‘Music - Lossless’ folder, I see all folders beneath and so on:

The ‘Folders’ listing is not visible under ‘My Media’ and working yet in the Volumio UI with the latest beta.

In Volumio, when I click on the same ‘Music - Lossless’ folder I get these options only:

Hi @IoTmessenger

The Folders listing is visible in my case. Did you install v0.1.8 beta by clicking the “Details” button under “Jellyfin” in the plugin store? If you have a previous version installed, did you restart Volumio after uninstalling it?

Hi @patrickkfkan

Shoot, I may have overlooked the ‘Details’ part. I did uninstall plugin (I had v.0.1.8 installed) and reboot first and turned on the test plugins in /dev. Let me check version and retry…

[edit]
Yes, that did the trick! My mistake, not properly installing the beta.
Thx for your quick reply and I must say: this update to your plugin will most likely let me uninstall the Squeezelite plugin!

Even if the latest version is shown as 0.1.8, if you just click the Install button, Volumio will just install the latest “Stable” version, which is 0.1.5. You have to go into “Details” to actually install the beta.

Yeah, i completely overlooked that part. I just assumed because I had v0.1.8, the beta must have been already pushed to final. By installing I assumed it would again install the latest but it indeed installed v0.1.5.

See my edit above, it works perfectly now! Thx!

Patrick, thank you. Folder view works in 0.1.8. But most of the music tracks is not playable in this mode. I don’t know who is guilty, the server itself or the plugin. There’s also a bug in plugin beta when there are more than one Jellyfin server. I had to deinstall and reboot for the second server appears.

@Abagian Yesterday evening I had some time to play around with the folders and I experienced the same issue.
In some folders the play button works OK, but most do not play. Had not time enough to dig more into this behavior. If it has to do with nesting within folders or the type of file or existence of playlist/m3u files etc.

But it is not you! :wink:
Do you btw see the individual files in the folders?

I can’t see no individual files nowhere. I have a guess : for the tracks to be visible, it needs to have one of two options : 1) m3u file in the directory (I found such one in some flac albums), 2) the files are mp3 encoded with track name information in the file header. That’s why all my mp3’s are OK, and just a few of flac albums are OK too.