Skip to content

Custom Categories #22

@GoogleCodeExporter

Description

@GoogleCodeExporter
It would be nice to add an extra system to add custom categories into MovPic. 
This would be seperate from the rename system. For now the main MovingPictures 
category name could be "IMDb+ Categories", but then later allow users to 'edit' 
this via the IMDb+ plugin.

The XML file that is used for this on the trunk, could use a syntax such as:

<imdbplus>
  <categories>
    <category>
      <name>Actors - Top 250</name>
      <description>This category will allow you to see all the movies a certain actor plays in. It only covers the top 250 actors according to a poll from the imdb.com website.</description>
      <filter>
        <name>John Doe</name>
        <match>all<match>
        <rule>
          <field>Actors</field>
          <compares>equals</compares>
          <to>John Doe</to>
        </rule>
      </filter>
      <filter>
        <name>Jane Doe</name>
        <match>all<match>
        <rule>
          <field>Actors</field>
          <compares>equals</compares>
          <to>Jane Doe</to>
        </rule>
      </filter>
    </category>
    <category>
      <name>Top 10 Sci-Fi Movies</name>
      <description>This category will show you the top 10 science-fiction movies defined by the American Film Institute.</description>
      <filter>
        <name>#1</name>
        <include>tt1234567</include>
      </filter>
      <filter>
        <name>#2</name>
        <include>tt1234567</include>
      </filter>
      <filter>
         ... (etc) ...
      </filter>
    </category>
  </categories>
</imdbplus>

The plugin can then have a new button in the hidden menu to allow a user to add 
one (or more) of the custom categories to their system. The multi-select dialog 
would be perfect for that with showing all the <name>...</name> values of each 
category entry.

Not sure if it is possible to also somehow be able to look at the description 
then before installing, or is the multi-select dialog capable of like detecting 
the info or context-menu button and pop up a notify dialog based on the 
selected item?

Original issue reported on code.google.com by RoChess....@gmail.com on 20 Oct 2011 at 10:57

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions