Hi!
Been working with seco's nice subtitlesdownloader library (thank you seco).
My primary goal was to have moving pictures as well as tvseries or any other video related plugin use a more generic and specialized approach to handling downloading of subtitles as well as GUI representation of these.
I have called this library: subtitlesretriever.
The benefits are:
* although configuration is handled seperately in each plugin, the configuration layout is still the same, making the user feel right at home.
* the coding effort in each plugin is greatly minimized, since as much stuff as possible have been coded in the subtitlesretriever plugin.
* language resources are handled in one place: C:\ProgramData\Team MediaPortal\MediaPortal\language\SubtitlesRetriever
obviously each plugin does not have to bother about language stuff. This is done with my subtitlesretriever library.
* Presentation of the results from subtitles query will look the same in tvseries and movpics or any other plugin utilizing my subtitlesretriever library. again, the user should feel at home. not confusing the user with different implementations of the same thing.
* Supports progressbar. It makes the user aware of what the subtitlesretriever plugin is currently doing and how long it will take it. Also it is possible to abort the process at anytime (it's running in its own thread.). In this event, the user will see the currently retrieved results, if any exist.
* It queries all enabled subtitles providers in one go. The user does not have to bother with selecting which providers to choose from. Although as said above, the user is able to abort the process at any time.
The subtitlesretriever is located at:
https://mediaportal.svn.sourceforge.net/svnroot/mp-plugins/trunk/plugins/SubtitlesRetriever/
I've attached the sources for movpics and tvseries.
I've photoshoped the two results screenshots (removing the original filenames). The results screen will display the filename, making it easier for the user to select the correct subtitle.
make sure that you put the lang resource files:
mp-plugins\SubtitlesRetriever\bin\Release\language\SubtitlesRetriever
to
C:\ProgramData\Team MediaPortal\MediaPortal\language\SubtitlesRetriever
currently danish and english are the only langs defined.
Also make sure you copy subtitlesretriever.dll to root install. dir of MP.
history:
moving pictures:
0.1 initial release
0.1 (maintrunk svn1127)
tvseries:
0.1 initial release
0.2 fixed playback problem.
/gibman
Been working with seco's nice subtitlesdownloader library (thank you seco).
My primary goal was to have moving pictures as well as tvseries or any other video related plugin use a more generic and specialized approach to handling downloading of subtitles as well as GUI representation of these.
I have called this library: subtitlesretriever.
The benefits are:
* although configuration is handled seperately in each plugin, the configuration layout is still the same, making the user feel right at home.
* the coding effort in each plugin is greatly minimized, since as much stuff as possible have been coded in the subtitlesretriever plugin.
* language resources are handled in one place: C:\ProgramData\Team MediaPortal\MediaPortal\language\SubtitlesRetriever
obviously each plugin does not have to bother about language stuff. This is done with my subtitlesretriever library.
* Presentation of the results from subtitles query will look the same in tvseries and movpics or any other plugin utilizing my subtitlesretriever library. again, the user should feel at home. not confusing the user with different implementations of the same thing.
* Supports progressbar. It makes the user aware of what the subtitlesretriever plugin is currently doing and how long it will take it. Also it is possible to abort the process at anytime (it's running in its own thread.). In this event, the user will see the currently retrieved results, if any exist.
* It queries all enabled subtitles providers in one go. The user does not have to bother with selecting which providers to choose from. Although as said above, the user is able to abort the process at any time.
The subtitlesretriever is located at:
https://mediaportal.svn.sourceforge.net/svnroot/mp-plugins/trunk/plugins/SubtitlesRetriever/
I've attached the sources for movpics and tvseries.
I've photoshoped the two results screenshots (removing the original filenames). The results screen will display the filename, making it easier for the user to select the correct subtitle.
make sure that you put the lang resource files:
mp-plugins\SubtitlesRetriever\bin\Release\language\SubtitlesRetriever
to
C:\ProgramData\Team MediaPortal\MediaPortal\language\SubtitlesRetriever
currently danish and english are the only langs defined.
Also make sure you copy subtitlesretriever.dll to root install. dir of MP.
history:
moving pictures:
0.1 initial release
0.1 (maintrunk svn1127)
tvseries:
0.1 initial release
0.2 fixed playback problem.
/gibman