- November 14, 2004
- 136
- 2
MP can add different types of metadata to it's database: music (from mp3 tags), video (manually or via IDMB) and weather.
Everytime I add some media I have to go to setup and do a manual rescan. Since I add new media at least once a week, this is not satisfactory.
And when going to the weather module, I have to hit "refresh" manually. As a user, I want that "this thing just works", and I don't want to bother with manual metadata import stuff.
We need a new, general kind of importing system for this data. I suggest to implement a general importing system which consists of importer plugins, each importer is resposible for importing one type of data to the MP database.
So currently we would have:
- a importer for music
- a importer for movies
- a importer for pictures
- a importer for weather
A specialized importer inherits methods and properties from a general importer:
- a schedule plan (when to run this importer automatically)
- a file mask (which files shall this importer work on)
- one or many directories to work on
- rules for generating a name for an imported item out of the file path (if no further meta data like id tags are present).
With this we could have one consistent and logical importing technique for every kind of data. Plugin authors could create their own importers on top of the general importer. And the import of music and movies could be done scheduled finally.
Thanks for listening.
Everytime I add some media I have to go to setup and do a manual rescan. Since I add new media at least once a week, this is not satisfactory.
And when going to the weather module, I have to hit "refresh" manually. As a user, I want that "this thing just works", and I don't want to bother with manual metadata import stuff.
We need a new, general kind of importing system for this data. I suggest to implement a general importing system which consists of importer plugins, each importer is resposible for importing one type of data to the MP database.
So currently we would have:
- a importer for music
- a importer for movies
- a importer for pictures
- a importer for weather
A specialized importer inherits methods and properties from a general importer:
- a schedule plan (when to run this importer automatically)
- a file mask (which files shall this importer work on)
- one or many directories to work on
- rules for generating a name for an imported item out of the file path (if no further meta data like id tags are present).
With this we could have one consistent and logical importing technique for every kind of data. Plugin authors could create their own importers on top of the general importer. And the import of music and movies could be done scheduled finally.
Thanks for listening.