Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[videodb] Add support for overview (plot) in movie sets. #8013

Merged
merged 2 commits into from
Sep 20, 2015

Conversation

anaconda
Copy link
Contributor

Makes it possible to specify an overview/plot in movies sets.
Skins can retrieve it via ListItem.Plot (in fact Confluence doesn't need any
modification - "set overview" will be shown where the plot for movies is).

This changes the format of the <set> tag for movie NFO files.
Current:

<set>My movie set</set>

Proposed:

<set>
  <name>My movie set</name>
  <overview>This is my awesome movie set.</overview>
</set>

The <overview> tag is optional, and the current format will still be supported
to not break existing scrapers or local NFO files.

See:

@Montellese Montellese added the Type: Feature non-breaking change which adds functionality label Sep 11, 2015
@Montellese
Copy link
Member

Looks good apart from the minors.

@un1versal
Copy link
Contributor

@anaconda see http://forum.kodi.tv/showthread.php?tid=181318 Will link this PR there since its related.

@anaconda
Copy link
Contributor Author

Thanks for your review. I have added 2 fixup commits to address your comments.

@anaconda anaconda force-pushed the sets-overview branch 2 times, most recently from b9ffeaa to 7542ccd Compare September 16, 2015 14:36
@DanCooper
Copy link

It's possible to add also an additional node to predefine "sort by year" or "sort by title" (year = 0 / title = 1)?

@@ -4602,11 +4631,16 @@ void CVideoDatabase::UpdateTables(int iVersion)
m_pDS->exec("ALTER TABLE tvshow ADD userrating integer");
m_pDS->exec("ALTER TABLE musicvideo ADD userrating integer");
}

if (iVersion < 97)
{

This comment was marked as spam.

@Montellese Montellese added this to the Jarvis 16.0-alpha3 milestone Sep 20, 2015
@Montellese
Copy link
Member

Looks good apart from the minor.

anaconda added 2 commits September 20, 2015 14:45
Makes it possible to specify an overview/plot in movies sets.
Skins can retrieve it via ListItem.Plot (in fact Confluence doesn't need any
modification - "set overview" will be shown where the plot for movies is).

This changes the format of the <set> tag for movie NFO files.
Current:
  <set>My movie set</set>
Proposed:
  <set>
    <name>My movie set</name>
    <overview>This is my awesome movie set.</overview>
  </set>
The <overview> tag is optional, and the current format will still be supported
to not break existing scrapers or local NFO files.

See:
  * http://forum.kodi.tv/showthread.php?tid=237761
  * https://www.themoviedb.org/collection/121938-the-hobbit-collection
    (API does provide the "overview".)
@Montellese
Copy link
Member

jenkins build and merge

@jenkins4kodi jenkins4kodi merged commit e35b466 into xbmc:master Sep 20, 2015
jester-xbmc added a commit to jester-xbmc/skin.amber that referenced this pull request Jan 14, 2016
Includes_Variables: show plot for movie sets (Jarvis feature).

xbmc/xbmc#8013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feature non-breaking change which adds functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants