Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Plex-Plugin - API V1+V2] Plex NFO Importer
#1
Project Plex - The Sports Database - Plex NFO Importer

TheSportsDB-NFO.bundle

- 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)
- Download: use the following link: TheSportsDB-NFO.bundle-0.9.1.zip https://tsdb.club/mydownloads.php?action...own&did=15
- Example files for naming.zip https://tsdb.club/mydownloads.php?action...own&did=16
- Use our NFO Export tool: https://tsdb.club/nfogenerator.php (Folder structure for sports series including NFO files in a zip package)
- Exchange NFO package in Discord channel!


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


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 download section: https://tsdb.club/mydownloads.php?action...own&did=15
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/article...ry-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.

[Image: winfiles01.jpg]

[Image: winfiles02.jpg]

Download & Installation on ubuntu:

1) Download from github and unzip
2) Copy them to the folder: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins
3) Find the group number for user "plex" by command "id plex".
4) "cd" to folder in step 3 and change ownership of both XBMC bundles: "sudo chown plex:{gid} XBMC*"
5) 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

[Image: plugin01.jpg]

- 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.

[Image: plugin02.jpg]

Add Library -> Add folders:

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

[Image: plugin03.jpg]

Add Library -> Advanced:

Agent: Select agent TheSportsDB-NFO

[Image: plugin04.jpg]

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.

[Image: plugin05.jpg]

[Image: plugin06.jpg]

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

[Image: plugin07.jpg]

[Image: plugin08.jpg]

Display in Plex

Display in Plex - Plex Default Skin

Overview TV shows:
[Image: view01.jpg]

View TV show:
[Image: view02.jpg]

View Season:
[Image: view03.jpg]

View Episode:
[Image: view04.jpg]

View Episode editor:
[Image: view05.jpg]

Example files

Example files - for Plex NFO Importer

Sports folder: League/TV show folders
[Image: winfiles03.jpg]

League/TV show folder from: English Premiere League
[Image: winfiles04.jpg]

Season folder from: English Premiere League Season 2021-2022
[Image: winfiles05.jpg]

NFO & Video file informations
[Image: nfofile01.jpg]

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/196374...Practice-1

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

[Image: sportsdb01.jpg]

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.club/nfogenerator.php (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-.../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)

[Image: sportsdb02.jpg]

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

TheSportsDB forum topic: https://www.thesportsdb.com/forum_topic.php?t=5972
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)