Site
Home / Forum / 3rd Party Projects / [Plex Add-on] Plex NFO Importer

[Plex Add-on] Plex NFO Importer


Posted: 25 Jul 2024 16:16
Project-Kodi


Posts: 42
Joined: 2024

Project Plex - The Sports Database - Plex NFO Importer

TheSportsDB-NFO.bundle

It is difficult to maintain many pages of up-to-date documentation. Please use for current information:

Documentation: https://tsdb.club/Thread-Plex-Plugin-API-V1-V2-Plex-NFO-Importer
Support: https://tsdb.club/Thread-Support-Plex-NFO-Importer-from-author

------

- Can access any Leagues/Seasons/Events/Teams/Players information. Access artwork online or locally.
- Only the appropriate folder structure, NFO files and video files are required. (Example files are available)
- Use our NFO Export tool / NFO Generator: https://tsdb.club/nfogenerator.php (Folder structure for sports series including NFO files and artwork in a zip package)
- Download: use the following link: TheSportsDB-NFO.bundle-0.9.1.zip https://tsdb.club/mydownloads.php?action=view_down&did=15
- Download Example Files: TheSportsDB-NFO_Demo_Files-0.9.1.zip https://tsdb.club/mydownloads.php?action=view_down&did=16

=> In 5 minutes, the plugin is installed and demo files scraped: https://streamable.com/75i7qd

Github Source: [url}https://github.com/Project-Plex/TheSportsDB-NFO.bundle[/url]

Documentation

- Download and installation
- Settings
- Display in Plex
- Example files
- NFO & Video file informations (An important section after the first test run with the demo files.)
- Information about this Project

Download and Installation

Installation:

1) Download the TheSportsDB-NFO.bundle.zip from github, https://github.com/Project-Plex/Project-Plex.github.io/tree/main/Downloads
2) extract it,
3) rename it to TheSportsDB-NFO.bundle,
4) find the Plex Media Server data directory https://support.plex.tv/hc/en-us/articles/202915258-Where-is-the-Plex-Media-Server-data-directory-located
5) move the .bundle folder to the Plug-ins directory,
6) restart plex and test,
7) if necessary change the owner and permissions of the .bundle and
8) restart plex again.





Download & Installation on ubuntu:

1) Download from github and unzip
2) Remove "-master" from the end of both folder names.
3) Copy them to the folder: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins
4) Find the group number for user "plex" by command "id plex".
5) "cd" to folder in step 3 and change ownership of both XBMC bundles: "sudo chown plex:{gid} XBMC*"
6) run "sudo service plexmediaserver restart". Done.


Settings

- Settings - Plex server

Server -> Settings -> Agents
Shows -> TheSportsDB-NFO: Local Media Assets (TV) -> Position 1, if not enabled, turn it on!
Shows -> TheSportsDB-NFO: TheSportsDB-NFO -> Position 2, if not enabled, turn it on!
=> Move with drag and drop to reach the desired position



- Settings - Create library

Add Library -> Select type

Type: TV Shows

Name: Video Library Names, as example: Sports

Language: English - Desired language, currently depending on the contents of the NFO file.


Add Library -> Add folders

Path: In our example, the video and NFO files are located under the following path: C:Plex-Demo-FilesSports


Add Library -> Advanced

Agent: Select agent TheSportsDB-NFO


use artwork from the local series folder, else from nfo file: if switched on then use artwork location 'local' else 'link'

artwork location: Select agent link or local | link = get pictures from NFO file over internet, local = use artwork from filesystem

Note: If you don't have any images in your video collection, the default settings will work.





actor thumb location: Select link or local | link = get pictures from NFO file over internet, local = use artwork from filesystem




Display in Plex

Display in Plex - Plex Default Skin

Overview TV shows:


View TV show:


View Season:


View Episode:


View Episode editor:


Example files

Example files - for Plex NFO Importer

Sports folder: League/TV show folders


League/TV show folder from: English Premiere League


Season folder from: English Premiere League Season 2021-2022


Download link: TheSportsDB-NFO_Demo_Files-0.9.1.zip https://github.com/Project-Plex/Project-Plex.github.io/tree/main/Downloads

Overview Github files


NFO & Video file informations


The following information must be present in the NFO file.

: The correct season number, no letters or hyphens

: The correct episode number, no letters or hyphens

The following information are important for file naming.

NFO File: The NFO file must have the same name as the episode video file
Video File: Must contain the correct season and episode number
Example 1: Formula 1 => Season 2024: https://www.thesportsdb.com/season/4370-Formula-1/2024 / Episode: https://www.thesportsdb.com/event/1963748-Australian-Grand-Prix-Practice-1

: 2024

: Formula 1 2024-03-22 Australian Grand Prix Practice 1.S2024E14.mkv



Note: Some leagues use the rounds multiple times and are therefore not usable. The episode number can only be determined by counting in this examle, or use our NFO Export tool: https://tsdb.sem-one.de/ (Folder structure for sports series including NFO files in a zip package)

Example 2: Formula E => Season 2021-2022: https://www.thesportsdb.com/season/4371-Formula-E/2021-2022 / Episode: https://www.thesportsdb.com/event/1392214-Monaco-E-Prix

: 2021 => Do not use 2021-2022 or 2022, only 2021! Always the lower. In Filesystem, you can use /Season 2021-2022/ as folders.

: Formula E 2021-04-30 Monaco E Prix.S2021E6.mkv not Formula E 2021-04-30 Monaco E Prix.S2021-2022E6.mkv (Always the lower)



=> In 5 minutes, the plex plugin is installed and demo files are scraped: https://streamable.com/75i7qd

Belongs to the following forum topic: https://www.thesportsdb.com/forum_topic.php?t=5960

Posted: 01 Aug 2024 03:10
htpcmac2

Posts: 18
Joined: 2020


- Use our NFO Export tool: https://tsdb.sem-one.de/ (Folder structure for sports series including NFO files in a zip package)

When I use this on UFC events the 'Actors' are limited to UFC Mens and UFC Women. It does not put the actual fighters.Can this be fixed?


UFC Mens
Fighting - UFC
1
https://www.thesportsdb.com/images/media/team/badge/3r7kfv1555339504.png


Posted: 03 Aug 2024 15:26
Project-Kodi


Posts: 42
Joined: 2024

Hey ;D

which Season?
https://www.thesportsdb.com/event/1927032-UFC-Fight-Night-234-Ankalaev-vs-Walker-2

As long as an event has a result or lineup, the individual fighters should be shown as actors. If only the teams are shown, the lineup/result is usually missing for this sport. It works a little differently for other sports.

If you contact me on discord TSDB Channel, we can test together.

Plex Example:


Which system you use?

Posted: 04 Aug 2024 02:20
htpcmac2

Posts: 18
Joined: 2020

Hey ;D
As long as an event has a result or lineup, the individual fighters should be shown as actors. If only the teams are shown, the lineup/result is usually missing for this sport. It works a little differently for other sports.

Which system you use?

Sorry, this one is on me. I was using the kodi addon from the kodi repo and had not noticed that the most up to date one is on a separate repo.
I got it sorted now. Just need to fill in all those extra fighters.



Thanks for all your hard work.

Posted: 04 Aug 2024 08:17
Project-Kodi


Posts: 42
Joined: 2024

This topic is about the [Plex Add-on] Plex NFO Importer!

If you choose the simplest way and generate NFO files with the generator, you can also use the original NFO scanner that comes with Kodi. Unless you want to store artwork and other things locally, then you should use the [Kodi Add-on] The Sports Database Python - https://www.thesportsdb.com/forum_topic.php?t=5971

Here is the correct for: [Tool] - NFO Zip package generator - https://www.thesportsdb.com/forum_topic.php?t=5973

Posted: 04 Aug 2024 15:08
htpcmac2

Posts: 18
Joined: 2020

This topic is about the [Plex Add-on] Plex NFO Importer!

Here is the correct for: [Tool] - NFO Zip package generator - https://www.thesportsdb.com/forum_topic.php?t=5973

I apologize I should have posted it there. The generated nfos with that tool for UFC and some events just have teams with no fighters. Since the kodi addon was out of date it was relying on 'old' local nfos and not updating them from online.

Posted: 05 Aug 2024 17:38
Project-Kodi


Posts: 42
Joined: 2024

I have now fixed a few errors that were reported by testers. There were sometimes problems with seasons with 8 characters (2012-2013), in football games only the players of the 2 teams and the 2 teams are shown as actors, previously all teams, etc.. Try something. Even if it's just with dummy files.
Version: 0.9.5 - https://tsdb.sem-one.de/

If you have problems with new versions in the future, you can easily access old ones by changing the version number in the link.
https://tsdb.sem-one.de/Archive/0.9.4/

New home of the project: https://tsdb.club/nfogenerator.php


Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 7 (Total: 7)