tubesync
tubesync copied to clipboard
TubeSync metada to Jellyfin
I am trying to get TubeSync to download full playlists only the audio and Jellyfin reads the NFO, but it is not doing it, it seems the NFO format is not the same, any idea how I can do this?
The NFO files tubesync writes are compatible with Kodi. https://jellyfin.org/docs/general/server/metadata/nfo/ seems to the the reference for what Jellyfin supports, I expect the file that tubesync writes needs tweaking.
Is there any way to make it compatible with Jellyfin's NFO?
Manually? Sure just edit the NFO in a text editor. For automatic integration it looks like I need to tweak the NFO format.
Ok, I will wait for your update, do you plan to do it soon?
Honestly no idea, I need to review what needs to be done properly first. If it's a quick patch with just some different file names, probably. If it's more work it'll go onto the wishlist.
Okay, keep me informed. Thanks!
Happy to accept pull requests if you want something in the project.
As an additional datapoint, I tested tubesync video NFO files with Emby, a sibling project to Jellyfin, and they worked fine. I compared the files, and, besides the element order, the only differences I saw were the Emby NFO had:
standalone="yes"in the doctype tag (i.e.,<?xml version="1.0" encoding="utf-8" standalone="yes"?>)- The contents of the
<plot>tag wrapped with a CDATA section (i.e.,<plot><![CDATA[The plot goes here]]></plot>
I don't think either of those differences would affect the NFO file from being read unless Jellyfin is extremely picky. I'll add standalone="yes" to the doctype, it can't hurt. I don't think that'll fix this for you though.
Hi ! I just set up Tube Sync to try it with Jellyfin and it's f*cking great ! The only change I could suggest would be to add the Season and Episode tags in the NFO:
<showtitle>Video Name</showtitle>
<season>{yyyy}</season>
<episode>{X}</episode>
With {yyyy} being the year of publication and {X} being 1 for the first video of that year and then counting in order of publication
This shouldn't break Emby, these tags exist in it: https://kodi.wiki/view/NFO_files/TV_shows
With this small modification in the NFO and Jellyfin which scans the download directory (the library is a "TV Series"), Jellyfin correctly displays the channels and is able to sort videos :
Thanks for the testing and feedback! The year should be easy to add, an episode counter would be a little more work. Good to know what needs adding to fix NFOs for Jellyfin though.