amontillado Posted May 2, 2009 Share Posted May 2, 2009 (edited) Hello, Triggered by Flowy's posting who made a small program to download the Movie details & Pictures (see: http://www.DVBViewer.info/forum/index.php?showtopic=33140) I decided to try building an accomining OSD-plugin. Inspired by MCE's Mediabrowers & Mediaportals Moving pictures I made the first version of MyMovies. Currently it features folder, backdrops, movie-info's (description, releasedate, actors & directors) & DVD list. Next to that you can also search on Title, Actor, Year or Unwatched. This feature list will be expanded in future versions. You can manually add movies (incl. offline dvd's and Iso's) or import movies from either the info.txt files provided by Flowy's tool (FilmInfoPics) or the mymovies.xml files created by Media Center Master (link can be found below) Everyone that is not afraid to try it out and accept that you will encounter bugs, some small, some large is asked to give it a try and report the results here. Instal: Place the mymovies.dll and mymovies.lng in the plugins dir. And mediainfo.dll should be both in the plugins dir as well in DVBViewer application's root. Place the mymovies.xml in the skin directory, Supported skins are listed below. Go to the mymovies section in the options, set the view to "Paths" and add the paths which contain your movies (by default the standard DVBViewer movie paths have allready been added). Add the movies. You have several options: Go to the mymovies section in the options, click on autoupdate or downloader Go to the mymovies section in the options, set the view to "Movies" and add the movies manually. Use filminfopics to download the details and pictures and write it directly to the DB. example parameters:-path DB -visible 1 -overwriteFolderPic 0 -overwriteBackdropPic 0 -output DB -search changed -lang en -logfile log.txt Use filminfopics to download the details and pictures and save them in info.txt. example parameters:-path DB -visible 1 -overwriteFolderPic 0 -overwriteBackdropPic 0 -output infos.txt -lang enThen import them in mymovies, go to options\mymovies and press the import button. Use mediacenter master, and import then using the import button. Note: Each movie needs to be in its own subdirectory [*]Optionally, Go to the mymovies section in the options, set the view to "Series" and add seriesnames. You can use them to group Movies. [*]Optionally, Go to the mymovies section in the options, set the view to "Commands" and add commands which can be run before a certain movie starts. - Note: You can selected multiple videofiles, they will all be added to the playlist when the movie is selected. - Note2: If you import a large list and press 'apply', you might have to wait a bit since the thumbnails are generated. - Note3: When installing a new version its always wise to first make a copy of the movies.db ! - Note4: If you want to import movies from the info.txt files you first need to enter paths. Additional settings. Use External Player : Check to use an external player instead of DVBViewer. Update item delay : Determines the time (in millisec) that mymovies will wait before refreshing the movie Load backdrop : If disabled, backdrops won't be loaded Random backdrop : If enabled a random backdrop from the backdrops belonging to the movie will be loaded Use Local Thumbs : If enabaled Thumbnails will be generated and save to the configuration folder. This can speed up navigation. (Please note that when using filminfopics with the -output DB paramater the thumbs will not be directly created. You can force the creation of thumbs by editing a movie in the mymovies-options (just select a movie, press edit and press ok). This is not neccessary if movies are manually added or imported using the import button. Group series : If enabled movies will be grouped if the are part of a series. (for now series info has to manually added) Hide Offline Paths : If enabled movies that are in a path that is not available won't be shown (This requires that you've added paths to monitor). Menu Window : You can selected in which menu the MyMovies is listed, Home or htpcHome/MediaCenter Use Key shortcuts : If enabled either pressing a key ('a..z') will selected the first on movie that starts with that character, or pressing 0..9 will cycle through the associated characters (like on a phone). There are two different modes: ActionID = Actions Number 0 to 10 and Favorite 0 to 9. Keyhook = Uses a keyhook. This also enables skipping on keypress of ('a..z'). But enabling this mode will disable the shortcuts for 'a..z' and '0..9' for the rest of DVBViewer (not if shift,ctrl or alt is pressed). On select show details : If selected, selecting a movie wil open the movie details page (requires a mymovies_details.xml). OSD Keys : You can define what actions is to be taken for the color osd keys (red,green, yellow,blue) Label 1/2 text : Here you can set what the textlabel2 and 3 of the listview should show (options: %title%, %description%, %genre%, %releasedate%, %actors). Get MediaInfo : If enabled mymovies will read some media info upon importing movies. This will slowdown the importing proces. Default filter : Set the default movie filter, options are: Show all, Unwatched or Watched. Content sequence : Set the view sequence. Options: Categories -> Movies/Series or Directly to Movies/Series (No categories) Default=Movies+Series Limit categories to IMDB defaults : Limits the used categories to the ones that are used by IMDB. Default=On Autoupdate : Set if you wish to look for new movies on DVBViewer start. Default=Manually Language : Sets the language in which the movie info is downloaded from TMDB (e.g. en or de). Default=en Links: FilmInfosPics.exe, program to download movie info: http://www.DVBViewer.info/forum/index.php?showtopic=33140 Media Center Master, alternative program to download info: http://www.mediacentermaster.com/ TheMovieDb.org: The source of the movie info. Please support them by adding movie details. http://www.themoviedb.org/ Mediainfo: http://mediainfo.sourceforge.net xzener category images: http://community.mediabrowser.tv/permalinks/1436/xzener-s-fanart-collection BluFuzz : http://www.DVBViewer.info/forum/index.php?showtopic=38952 (german) Concinnity3d skin: http://www.DVBViewer.info/forum/index.php?showtopic=23528 (enlish), http://www.DVBViewer.info/forum/index.php?showtopic=23169 (german) Inca: http://www.DVBViewer.info/forum/index.php?showtopic=39591 (german topic) Mediastream: http://www.DVBViewer.info/forum/index.php?showtopic=31681 (german) VDR-Retro skin: http://www.DVBViewer.info/forum/index.php?showtopic=35267 X-Skin: http://www.DVBViewer.info/forum/index.php?showtopic=38303 Version info: 0.01.11 Pre-Alpa Initial version. 0.01.13 Extra debug options added. 0.01.14 Added Language logic. (mymovies.lng has to be placed in the plugins dir for now) 0.01.15 Added more language logic. You make a list of words that have to be translate in the mymovies-info-general and mymovies-info-genre section of the mymovies.lng file. 0.01.16 Added DVD option. You can now indicate if a movie is a DVD, selecting such a movie will popup a message reminding to insert the drive and start the DVD. 0.01.17 Change: Ini & Lng files should now be located at "Configuration Folder\Plugins" 0.01.18 Added: Saves folder & backdrop images now, this can improve speed of loading and navigation. Saved in "Configuration Folder\Images\Thumbs\mymovies" 0.01.19 Fix: Some small bugfixes & logging. Added: mymovies.xml for mediastream. 0.01.20 Added: Search functionality. Search on title, actors or year. 0.01.21 Fix: Plugin wont start of xml lacks some controls. Fix: Remember previous item. Fix: Resume previously played video (only if there is 1 videofile) 0.01.22 Fix: Import function could cause a crash in DVBViewer 4.1. Added: Various new fields, the current skins don't include them but you can add them yourself. Added: Available field & ControlId's for the Skin are listed below. (removed because of an annoying bug) 0.01.24 Change: MovieData is now stored in sqlite database (configuration folder\database\mymovies.db). Old data is retained but its strongly advised to re-import the movie's since a lot more data is now actually stored. Fix: Some bigfixes. 0.01.25 Added: Series support. You can group movies based on the series name (e.g. Star Wars, Pirates of the Carribean, etc). 0.01.26 Added: Extended info (OSD-Yellow). Fix: Upon import no duplicates are created anymore. Fix: Remove movie works again. 0.01.27 Fix: View button gets focus on re-entering OSD 0.01.28 Added: Random backdrops, Fix: In listview one couldnt move from other controls back to listview (with keyboard) 0.01.29 Added: Hide offline paths, Movies that are in a path that is offline won't be shown. Change: Import will now look at Paths that are added to Path list. 0.01.30 Changed: Hide offline paths now only checks paths if the path setting "is removable medium" is disabled and checks indivual files if it is enabled. 0.01.31 Fix: Only picturefiles will be read for backdrop upon import. Fix: 0kb thumbnail files. Removed: Reading movie from .ini (from versions <24). 0.01.32 Added: Support for Automounting of imagefiles. MyMovies uses the settings of DVBViewers Daemon Tools section. Fix: Missing default backdrop if no backdrop found. 0.01.33 Added: Support for Media Center Master xml files. 0.01.34 Fix: Database was not created on first use, a restart of DVBViewer was required. 0.01.35 Added: Play trailer, you can manually add a trailer and select "Play trailer"from the options pop-up. Change: Will now change #media.title to Movie title (instead of filename). 0.01.36 Added: Automatically replace trailer info from info.txt if a filename like "trailer.######' is found. Change: Loads videoextentions from setup.xml (DVBViewer) 0.01.37 Added: Loads the background image of the home image for certain skins like Concicity Lite (by setting the "#menufocusimage" value to either "home_mymovies.png" or "home_mediacenter_mymovies.png"). Added: Option to set the Menu window (Home or htpcHome) 0.01.38 Added: ActionId 99789 will show MyMovies window. Added: Option to enable skipping to movie on Keypressed (Pressing 'd' moves to first movie which starts with a 'd'). Fix: Changed termination sequence to prevent crashes. Change: Setting series is now easier (dropdown menu). Added: Commands. You can define a command which can be run before the movie starts, params can also include '%filename%' and %title%. Added: Keypress label which is shows the last key pressed (for 0..9 it will show the alfanumeric). Added: Option to use an external player on a per movie basis. 0.01.39 Fix: Genre data could be reduced to 25 characters. Fix: Not all info in the info.txt was read. Added: Sort on Filedate now works. Fix: Fixed some keyhook errors. 0.01.40 Fix: Detection of VIDEO_TS folders was broken. Fix: Detection of videofiles in a subdir was broken. 0.01.41 Change: Keyhook has 2 differnt modes, also works with actionid's now. Added: Details page. You can now open a details page on selecting a movie. Skinners need to provide a mymovies_details.xml. ControlId are the same Added: OSD-Color key assignements. You can define which action the osd color keys take. Added: Support for label2 and 3 in the listview. You can define what it should say (options: %title%, %description%, %genre%, %releasedate%, %actors% Added: Rating image. Looks for 'mymovies_ratingx.png' where x = 1..10. Image with controid 3202 needs to be present skin. Added: Ability to read mediainfo like bitrate and codecs. It requires mediainfo.dll to be present in application directory. Added: Mediainfo images. Looks for 'mymovies_audiocodec.png' (e.g. mymovies_dts.png), mymovies_videocodec.png (e.g. mymovies_avs.png), mymovies_stereo.png (or mon0 / dolby51) mymovies_videowidth.png (e.g. mymovies_1920.png). Change: Looks for folder_original.jpg first, since filminfopics downloads a larger version in that name. Fix: Sorting for series works now. A series was sort on the title of the first movie, not the seriesname. Change: Added support for .bmp,.gif,.png folder and backdrop images (.tbn works sometimes, not always ) Removed: Most of the labels (the title label, not the content). They are not really nessecary anyway. [*]0.01.42 Added: Abilty to read DVBViewers recording txt files. (Only basic info is read). Added: Clears deleted files from database (only if files dont have the tab "isRemovable") Fix: Genre wasnt always read properly [*]0.01.43 Added: Support for #menufocusimages +/- 1,2. [*]0.02.44 Change: Database now uses sqlite3. On first start it will convert. Please backup the data on forehand. This requires DVBViewer 4.3.xx (beta) or.. place download the sqlite3.dll yourself and place it in the DVBViewer application directory. [*]0.02.45 Fix: Default viewstyle now properly loaded. Added: FolderBack image loaded for back button (series and searches) [*]0.02.47 Change: Editing, Deleting and manually Adding movies should go a lot faster. Added: SUpport for Dynamic WindowBackdrop (DVBViewer 4.3.100 and newer), tag = #mymovies_backdrop (support for Backdropimage (controid 3201) will be kept) Added: External player can use a folder instead of filename. Set per movie. Added: Set sortname. You can set a set of terms tha will be ignored in the mymovies-settings (e.g. the or die;der;das). Or manualy change it per movie in the movie editing box. Added: AspectX, AspectY, Bitratetotal in DB (not used currently, added for future purposes) Added: Filter for (un)watched movies. Under options menu -> set filter. Added: Indication if movie has been watched, astrix (*) before title and NewMovie image is visible (control 3210, see inca and x-skin style 1 for example). Added: Button to manually force creation of thumbs (options\mymovies). Change: Upon DVBViewer start a check for thumbs is performed, missing are created. This is helpfull when filmopics with -output DB is used since no thumbs are created then. Please note that first time DVBViewer starts it can take a long time when many thumbs are missing. Fix: Rating image on details page correctly updated. Fix: Viewstyle settings werent saved Note: Due to some changes in the UTF8 decoding it can happen that entries with special characters will disappear. Just clear the DB and reimport once. [*]0.02.49 Added: MyMovies Downloader to download/grab movie data from TMDB Added: Categories view. You can now use the categories/genre to order your movies. Added: Category images support. Category images need to be in ..skinpath\images\categories, filename=<title category>.png Added: OSD-color shortcuts to Toggle unwatched/all. Added: Option to set a default filter (unwatched/watched/all) Added: MID is now editable in MyMovies Movie editor to allow for convient way to change the ID if the wrong movie was found. Added: Search for Directors (In the Set Filter submenu). Change: Split the settings up in two sections (so I can add even more options ) Fix: Import of Mediamaster / Yamm xmls failed for utf8 encoded files. Added: Support for X-Skins Folder.txt Added: Option to limit the loading of the backdrop to only listview or thumbnails Added: Download language. Set the language for downloading info at TMDB (e.g. en or de) Added: Autoupdate setting. Option to start the autoupdate (using the mymovies downloader) at DVBViewer start. Added: Reload movie info from OSD (option to select the correct title) Downloads: Download: mymovies_0.01.42.zip -- Download: mymovies_0.02.47.zip [This requires sqlite3 which comes with DVBViewer 4.3.xx (beta)] Download: mymovies_0.02.49.zip [This requires sqlite3 which comes with DVBViewer 4.3.xx (beta)] -- Download: categories.rar To be placed in the OSDskin images directory below some examples of mymovies with different skins: Edited April 11, 2011 by amontillado Quote Link to comment
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.