Add-on:TVmaze: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
(v21 Updates)
 
(12 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|provider-name=Roman V.M.
|provider-name=Roman V.M.
|ID=metadata.tvmaze
|ID=metadata.tvmaze
|latest-version=1.2.3+matrix.1
|latest-version=1.3.5
|extension point=xbmc.metadata.scraper.tvshows
|extension point=xbmc.metadata.scraper.tvshows
|provides=
|provides=
Line 17: Line 17:
|Email=
|Email=
|broken=
|broken=
|icon url=http://mirrors.kodi.tv/addons/matrix/metadata.tvmaze/resources/icon.png}}
|icon url=http://mirrors.kodi.tv/addons/omega/metadata.tvmaze/resources/icon.png}}
 






= Introduction =
= Introduction =
TVmaze is a TV Show scraper developed in Python by Roman V.M.
TVmaze is a TV Show scraper developed in Python by {[kodi]} Team Member Roman V.M.


The TVmaze scraper accesses the following site to scrape your TV Shows, seasons and episodes:
The TVmaze scraper accesses the following site to scrape your TV Shows, seasons and episodes:
* [https://www.tvmaze.com/ TVmaze] - for metadata and some artwork
* [https://www.tvmaze.com/ TVmaze] - for metadata and some artwork
= Search =
This scraper uses the folder name as the search string to lookup the title at the TV Maze site.
If you are experiencing problems scraping the correct title, there are 2 methods available to force the scraper to the correct title.
== Filename identifiers ==
{{#lst:Naming_video_files/Movies|FilenameID}}
== Parsing NFO File ==
: '''See:''' [[NFO_files/Parsing|Parsing NFO Files]]




Line 38: Line 54:


;Preferred Episode Order
;Preferred Episode Order
:Most TV shows will use the ''Default'' order. If you need to change order for a particular TV show, using method 3 detailed above is recommended.
:Most TV shows will use the ''Default'' order. If you need to use a different order for a particular TV show, select the order here. Using Settings method 3 detailed above is recommended.
:See next section for more details.
:See next section "Episode Orders" for more details.


;Default Rating
;Default Rating
:Select which provider to be used for scraping the default rating.
:Select which provider to be used for scraping the default rating.
:Available options are '''TVmaze''' and '''IMDB'''
:Available options are '''TVmaze''' and '''IMDB'''
;.NFO files include full show/episodes information
:If your nfo files contain full metadata, enable this setting to ensure some data is not overridden. <ref>https://github.com/romanvm/kodi.tvmaze/commit/fd4f959c0320d0ed18eb1805f37a798e891e1ac1</ref>




Line 50: Line 69:
Some TV Shows are originally broadcast in one order (default order) but the order may be different when broadcasting in a different country (La Casa De Papel), or the DVD/Bluray release may have a different screening order (Firefly).
Some TV Shows are originally broadcast in one order (default order) but the order may be different when broadcasting in a different country (La Casa De Papel), or the DVD/Bluray release may have a different screening order (Firefly).


If these orders are available at TVmaze.com, then the orders can be accessed by the scraper.
If these orders are available at TVmaze.com, then the alternate orders can be accessed by the scraper.


<gallery mode="packed" widths="500px" heights="293px">
<gallery mode="packed" widths="500px" heights="293px">
Line 57: Line 76:
</gallery>
</gallery>


# Locate the TV show at TVmaze and confirm that alternate orders are available (image 1)
# Locate the TV show at [https://www.tvmaze.com/ TVmaze] and confirm that alternate orders are available (image 1)
# Confirm which order you require and ensure it matches your episode files
# Confirm which order you require and ensure it matches your episode files
# In the scraper settings, select the same order. Use method 3 detailed above in ''Settings'' (image 2)
# In the scraper settings, select the same order. Use Settings method 3 detailed above in ''Settings'' (image 2)
# Scrape as per normal.
# Scrape as per normal.


Available Orders are:
Available Orders are:
:Default
* Default
:DVD/BluRay Release
* DVD/BluRay Release
:Verbatim
* Verbatim
:Country Premiere
* Country Premiere
:Streaming Premiere
* Streaming Premiere
:Broadcast Premiere
* Broadcast Premiere
:English Language Premiere
* English Language Premiere
 
 
= References =
<references />




Line 76: Line 99:


{{top}}
{{top}}
{{updated|19}}
{{updated|21}}
 
[[Category:Karellen]]


[[Category:Add-ons with license tag]]
[[Category:Add-ons with license tag]]
Line 84: Line 105:
[[Category:Add-ons with website tag]]
[[Category:Add-ons with website tag]]
[[Category:All add-ons]]
[[Category:All add-ons]]
[[Category:Karellen]]
[[Category:Nexus]]
[[Category:TV scraper add-ons]]
[[Category:TV scraper add-ons]]
[[Category:Leia add-on repository]]
[[Category:Leia add-on repository]]
[[Category:Matrix add-on repository]]
[[Category:Matrix add-on repository]]
[[Category:Nexus add-on repository]]
[[Category:Nexus add-on repository]]
[[Category:Omega add-on repository]]

Latest revision as of 03:30, 22 April 2024

TVmaze
icon.png

See this add-on on the kodi.tv showcase

Author: Roman V.M.
Website: link
Type: TV information
Repo: Kodi.tv repo v21
Kodi.tv repo v20
Kodi.tv repo v19

License: GPL-3.0-or-later
Source: Source code
Summary: Fetch TV Show metadata from TVmaze.com
Home icon grey.png   ▶ Add-ons ▶ TVmaze

TVmaze is a free user driven TV database curated by TV lovers all over the world. You can track your favorite shows from anywhere.
We provide an API that can be used by anyone or service like Kodi to retrieve TV Metadata, show/episode/cast images, and much more.

Installing

This add-on is installed from the Add-on browser located in Kodi as follows:

  1. Settings
  2. Add-ons
  3. Install from repository
  4. Information providers (v16 and higher)
  5. TV information
  6. TVmaze
  7. Install



Introduction

TVmaze is a TV Show scraper developed in Python by {[kodi]} Team Member Roman V.M.

The TVmaze scraper accesses the following site to scrape your TV Shows, seasons and episodes:

  • TVmaze - for metadata and some artwork


Search

This scraper uses the folder name as the search string to lookup the title at the TV Maze site.

If you are experiencing problems scraping the correct title, there are 2 methods available to force the scraper to the correct title.


Filename identifiers

Scrapers can optionally lookup via filename identifiers since Matrix (v21) if the scraper supports it. As of v21, TheMovieDB Python, TMDB TV Shows, and TV Maze scrapers support ID's in the folder or filename.

Filename identifiers are short tags added to the name of a file that directly provide metadata IDs to Kodi. This method streamlines the scraping process by giving Kodi explicit references to look for in its database. If an identifier could not be looked up using a filename identifier, Kodi falls back to the normal scraping process using title and year.

To take advantage of this feature, include the identifier within the filename and/or the folder (depending on the setting Movies are in separate folders that match the movie title in the Set Content screen) using one of the following supported formats:

  • Movie Name (Year) [sourceid=xxxx]
  • Movie Name (Year) [sourceid-xxxx]
  • Movie Name (Year) [source=xxxx]
  • Movie Name (Year) [source-xxxx]
  • Movie Name (Year) {sourceid=xxxx}
  • Movie Name (Year) {sourceid-xxxx}
  • Movie Name (Year) {source=xxxx}
  • Movie Name (Year) {source-xxxx}

Where:

sourceid / source - the appropriate site identifier of the ID (see Note below)
xxxx - the ID from the site

An example of a properly formatted filename would be:

/Blade Runner (2017) {tmdb=335984}/Blade Runner (2017) {tmdb=335984}.mkv


Note: Not all scraper sites accept all ID's. It is recommended that the sites own ID is used rather than a 3rd party site (eg imdb). 3rd party ID's at scraper sites rely on users to enter that data. It is not uncommon to have these ID's missing.

TheMovieDB for Movies and TV Shows - Use TMDB's own tmdb ID but the scapers will also accepted imdb and tvdb if that data is available at the site.
TV Maze - only acceptes tvmaze ID's
TVDB - As at the release of v21 Omega, the scraper requires updating by TheTVDB


Parsing NFO File

See: Parsing NFO Files


Settings

Scraper settings can be adjusted in three locations, each location having a different result. When adjusting the settings be mindful of where:

1. Kodi System Settings ▶ Add-ons ▶ Information Providers ▶ (Select Scraper)
Scrapers are installed with default settings. Adjusting settings in this location sets the new default settings for your scraper. From this point on any source you change to use this scraper will use the new default settings. Existing sources are not changed
If an existing source is already using this scraper, and you would like the new settings to take effect, change the source to use another scraper, save and answer no to updating the library. Then change the scraper back and the new default settings will be loaded for the source. See: Changing Scrapers
Alternatively, use the next method.
2. Videos ▶ Files ▶ Source ▶ Context Menu ▶ Change Content ▶ Settings
Changing settings at the source will affect that source only.
3. Videos ▶ Files ▶ Source ▶ Movie/TV Show folder ▶ Context Menu ▶ Change Content ▶ Settings
Changing settings on the folder containing a movie or TV show will affect only that movie or TV show.


Note: Changing scraper settings does not change the metadata or artwork already in your library. Only items scraped after the setting changes will be affected.


General

Image 6- General Settings


Preferred Episode Order
Most TV shows will use the Default order. If you need to use a different order for a particular TV show, select the order here. Using Settings method 3 detailed above is recommended.
See next section "Episode Orders" for more details.
Default Rating
Select which provider to be used for scraping the default rating.
Available options are TVmaze and IMDB
.NFO files include full show/episodes information
If your nfo files contain full metadata, enable this setting to ensure some data is not overridden. [1]


Episode Orders

Some TV Shows are originally broadcast in one order (default order) but the order may be different when broadcasting in a different country (La Casa De Papel), or the DVD/Bluray release may have a different screening order (Firefly).

If these orders are available at TVmaze.com, then the alternate orders can be accessed by the scraper.

  1. Locate the TV show at TVmaze and confirm that alternate orders are available (image 1)
  2. Confirm which order you require and ensure it matches your episode files
  3. In the scraper settings, select the same order. Use Settings method 3 detailed above in Settings (image 2)
  4. Scrape as per normal.

Available Orders are:

  • Default
  • DVD/BluRay Release
  • Verbatim
  • Country Premiere
  • Streaming Premiere
  • Broadcast Premiere
  • English Language Premiere


References



Return to top