Skip to content
This repository has been archived by the owner on Jan 24, 2022. It is now read-only.

joshuaavalon/AvalonXmlAgent.bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AvalonXmlAgent.bundle

Release MIT licensed

Avalon Xml Agent is a Plex TV and movie agent that is inspired by XBMCnfoTVImporter.bundle and XBMCnfoMoviesImporter.bundle. It is designed to use XML file as metadata instead of pull data from internet. It allows you to maintain and backup your metadata much easier and prevent some random guys on internet modify the metadata that you used to.

See Frequently Asked Questions for more details.

Format

See Wiki

Install

Git

cd /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/
sudo git clone https://github.com/joshuaavalon/AvalonXmlAgent.bundle.git
sudo chown plex:plex AvalonXmlAgent.bundle
sudo service plexmediaserver restart

Maually

sudo wget https://github.com/joshuaavalon/AvalonXmlAgent.bundle/archive/master.zip -P /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-ins/
sudo unzip master.zip -d AvalonXmlAgent.bundle
sudo chown plex:plex AvalonXmlAgent.bundle
sudo service plexmediaserver restart

Then, select Avalon XML TV Agent and Avalon XML Movie Agent as your agent.

Frequently Asked Questions

Can XMBC nfo be used directly?

No. Although XMBC and AvalonXml both use XML to store their data, XMBC allows many different tag to represent. For example, aired, premiered, dateadded and dayfirst can represent the same information in XMBC. AvalonXml only uses aired. It is not that difficult to write a script to read and write xml.

Also, although AvalonXml has legacy support for .nfo, it is recommend to use .xml. .nfo is not well support in many text editor. You have to manually select XML highlight.

Why is this better than XMBC?

  • Cleaner code. For example, accessing the files on drive instead of query web API, etc.
  • Consistent data. No more different tag name for same data. No unreasonable data (manually change duration instead of actual duration).
  • Have tool for generate XML file.
  • Static naming. XMBC always search for .nfo with the same name of the video which cause problem when Plex choose between multiple version video.
  • Support all the fields in web UI. Note that there are some limitations, see Wiki.