Kodi Community Forum

Full Version: Medusa NFO Files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Quote:Yea, don't use those. They are not Kodi compatible. They claim they are, but they are not.
I'm a developer for medusa.

the `link 1` seems to be an nfo from medusa, looking at how the uniqueid is formed.

I see that some things have changed looking at `https://kodi.wiki/view/NFO_files/Episodes`.
I'll update the ratings structure.
Hi @p0psicles

Please feel free to contact me with any questions regarding the creation of nfo files.

If you send me comprehensive nfo files for movie, tv show and episodes from Medusa, I can comment if there are any other required changes to improve compatibility. Post them to Kodi Paste Site and I can take a look.

Thanks.
Sure.

I've added the ratings tag to the episode.nfo.
I see that we can do the same for show.nfo.
Tvdb doesn't give back a number of votes for episodes afaik, so I omitted that.

episode.nfo
https://paste.kodi.tv/qasijacune

show.nfo
https://paste.kodi.tv/jaduxemipu

edit: Also implemented the ratings tag for show.nfo.
@p0psicles

I've split our posts off and moved them to Supplementary Tools. It was a bit off topic for the WatchedList thread.
(2022-01-12, 11:48)p0psicles Wrote: [ -> ]Tvdb doesn't give back a number of votes for episodes afaik, so I omitted that.
Yep, forget about TVDB Ratings. They are not offered anymore by TVDB. Existing ratings remain and are completely stale and outdated, and there is no way to add new ratings on their site. From our own scrapers, we have removed TVDB ratings completely.
IMDB seems to be the most popular. We get a lot of call for Rotten Tomatoes and Metacritic ratings if that interests you?

TV Shows
  1. <year>2023</year> This is a deprecated tag and not needed. Use <premiered>yyyy-mm-dd</premiered> for tv shows and movies
  2. <episodeguide> Tricky one. This has been a real problem for us with TVDB. They have gone from v1 to v2/3 API and all are about to be shutdown in the coming months in favour of TVDB API v4. Your episode guide is v2/3 which won't work in the near future. So if a user has nfo files for all episodes, then the episodeguide is not needed. If a user is scanning into Kodi using the Python range of scrapers, then the invalid episodeguide is ignored and a new one is downloaded if needed. It only becomes a problem when users are using the older XML based scrapers. So you can either omit it from the nfo files (which is what TMM has started doing recently) or ensure the url is updated to v4 format in the near future. It looks like this... <episodeguide>257655</episodeguide>
  3. <mpaa>TV-14</mpaa> Do you offer users the ability to select which country the ratings come from? Something like <mpaa>Australia:PG</mpaa>
  4. <country><country> Not used for tv shows. But if it remains, it is no problem.
  5. <namedseason number="1">The Maze</namedseason> Some shows name their seasons, like Westworld. This tag adds a named season, instead of the typical Season x

I assume your manager also downloads artwork to local folders? You can check artwork naming and placement here for tv shows. Links to movies and episodes are there also... https://kodi.wiki/view/TV-Show_artwork

Time for bed. I'll have a look at episodes nfo file tomorrow. Do you create movie nfo files?
(2022-01-12, 12:23)Karellen Wrote: [ -> ]<year>2023</year>
I changed it.
Quote:<episodeguide>
We'll probably not support the new api4. We also support tvmaze and tmdb. So users have alternatives to choose from.
Quote:<mpaa>TV-14</mpaa>
You mean that kodi supports per region MPAA ratings? No we don't have the feature to select it.
We do have a show's network -> timezone mapping. But that would be a stretch imo.
Quote:<namedseason number="1">The Maze</namedseason>
Don't really think that's a must have for us. But if the source site has the info. I could look into it.
(2022-01-12, 12:47)p0psicles Wrote: [ -> ]We'll probably not support the new api4
No problems. Probably best choice when using TVDB. The python range of scrapers are smart enough to download the missing episodeguide if needed,

(2022-01-12, 12:47)p0psicles Wrote: [ -> ]We also support tvmaze and tmdb. So users have alternatives to choose from.
Great. I was wondering if you supported the other providers.

(2022-01-12, 12:47)p0psicles Wrote: [ -> ]You mean that kodi supports per region MPAA ratings?
Yes. We are looking at more changes to this in future. It is in the discussion stage... https://forum.kodi.tv/showthread.php?tid=365698

(2022-01-12, 12:47)p0psicles Wrote: [ -> ]But if the source site has the info. I could look into it
Sure. Here is an example... https://www.themoviedb.org/tv/63247-westworld/seasons
(2022-01-12, 11:48)p0psicles Wrote: [ -> ]episode.nfo
https://paste.kodi.tv/qasijacune
I have checked the episode nfo file and come up with the following:

<uniqueid type="tvdb" default="true">7249300</uniqueid> A good practice to also provide the IMDB ID. Some library related addons require the IMDB ID to function correctly.
<rating name="tvdb" max="10" default="true"> Remove TVDB ratings as they are no longer valid. Best to stick with IMDB
<credits></credits> <director></director> Might be useful to provide writers and directors

Is your software a free offering or requires payment? If it is free, you are more than welcome to open a thread in this forum.
What is medusa? link
Quote:Remove TVDB ratings as they are no longer valid. Best to stick with IMDB
We don't have episode information from imdb. For shows added through tvdb, we get the episode rating. I'll need to check if it's available from tmdb and tvmaze.
Quote:A good practice to also provide the IMDB ID. Some library related addons require the IMDB ID to function correctly.
I can do that.

I'll check we can get the writers directors. But I suspect that's also not really a must have.

@Edworld 
Medusa is a long separated fork from sickrage. But with loads of added features like multiple show sources. Like tvdb + tvmaze + tmdb.
website: https://github.com/pymedusa/Medusa/