Help Skin the Moving Pictures GUI Importer (1 Viewer)

fforde

Community Plugin Dev
June 7, 2007
2,666
1,699
39
Texas
United States of America United States of America
  • Thread starter
  • Moderator
  • #1
The next major release of Moving Pictures will have an interface in the MediaPortal GUI for managing files in the importer. This is still a work in progress and this build is only meant for skin designers but there is an alpha linked below. Be sure to download the unofficial Titan skin files as well, they are listed separate. Skin designers, if you want a skin property or button or anything that is not currently there, please ask.

Many thanks to Edalex for his initial patch for this functionality. If you see him in this thread give him a like, if it were not for him this would not be happening.

DOWNLOAD
This build is meant for developers, if you are not a developer download this build at your own risk.
------------------------------------------------------------------------------------------------------------
movpics-importer-01.png movpics-importer-02.png movpics-importer-03.png
Edit: more screenshots

EDIT:Additional changes are documented on page 2.

Included Skins
This build should work fine in either MediaPortal 1.2.3 or 1.3 Beta, but the included skin files are targeted at 1.3 Beta. The main download includes working skin files for DefaultWide only. There is an additional download that contains Titan skin files, if you are a skin designer or are just checking things out I highly recommend checking out the Titan skin files, these are of course a work in progress but more time has been given to these.

Also worth noting, the included Titan skin files were not created by the Titan team. This is at best a reference implementation to help other skin designer get started/inspired.

Window ID and Controls
The importer is implemented as a new screen with ID# 96743. This can be launched either the context menu in Moving Pictures or a skin based hyperlink (in the DefaultWide and Titan skins this is on the slide out menu).

The only control linked to any code on the Importer screen is the file listcontrol which has an ID of 310. Each list item includes three labels, the filename(s), the currently selected movie for this file, and an enum indicating the file's current status. The third will almost certainly never be used but I figured maybe it could be used for some clever skin based conditionals or something. Each list item also has a pinicon to indicate status. Now that I am typing this up I realize these filenames are not ideal so expect these to change in the future. Suggestions are welcome.
Code:
Status Icons:
-------------
waiting to be processed:  [no icon]
currently being processed: led_blue.png
needs user input:		  led_yellow.png
successfully imported:	led_green.png
EDIT: Well the CODE markup on the forums here sucks...

Skin Properties
The following properties are pushed to the skin. If you can think of anything you want but is not available please let me know. Unless otherwise indicated these skin properties are only reliably available on the Importer screen.

EDIT: Don't feel obligated to use all of these. But be creative. And tell me what is missing. :)

#MovingPictures.Importer.Status: A description of the current task the importer is working on. The CurrentTask properties below are directly related to this task description. This on occasion gets blanked out for some reason, I need to figure out why.

#MovingPictures.Importer.TotalProgressPercent: Indicates how far along the importer is as a percentage. This would be useful for a progress bar. (0-100)

#MovingPictures.Importer.IsActive: Indicates if the importer is enabled. This will almost always be set to true. If the user has intentionally disabled the importer in the GUI this will be false. Available on main Moving Pictures Screen as well.

#MovingPictures.Importer.Waiting.Count: The number of files that are queued in the importer but are waiting to be processed.

#MovingPictures.Importer.NeedInput.Count: The number of files requiring attention by the user. Available on main Moving Pictures Screen as well.

#MovingPictures.Importer.Processing.Count: The number of files currently being processed. This is usually directly tied to the number of threads running in the importer. Maybe not so useful but maybe someone can do something creative with this.

#MovingPictures.Importer.Done.Count: The number of movies that have been successfully imported since the last time the importer was (re)started.

#MovingPictures.Importer.CurrentTask.Count: The number of completed units of work in the current task. This can refer to import paths scanned, files queued, etc depending on context. This combined with the total field below might be useful to append to the status string. For example, "Queuing Files... (23/75)"

#MovingPictures.Importer.CurrentTask.Total: The total number of units of work for the current task.

#MovingPictures.Importer.CurrentTask.Percentage: The percent complete for the current task (0-100).

Current Issues / Possible Changes
This is a very early build so things will probably change. I have tried to stabilize everything that is included right now but this is not a final build. Below are some things I jotted down to myself while working on this. Please feel free to comment or make additional suggestions.
  • Currently the importer is restarted when you enter the GUI Importer screen for the first time. This will be fixed in the next release, but just be aware of this.
  • No feedback is given when you ignore a file. This functions correctly under the hood I just need to figure out a way to indicate the file has been ignored to the user. Suggestions are welcome.
  • I will add a "Send to Importer" action for movies in the main Moving Pictures UI.
  • Most strings are not currently translated, this of course will change.
  • The status skin property sometimes gets blanked out, not sure why. Will try to fix.
  • MediaPortal currently crashes when the Importer skin file is missing.
What do you think?
Please post with your feedback and thoughts. Here are a few specific things I'd like feedback on but please feel free to post with whatever concerns/interests you.
  • I would like to add some filtering functionality to the list. Most people for example will not be interested in what was successfully imported several days ago. Or may just want to see a list of stuff that needs their attention. How do you imagine yourself using the importer?
  • Are there any launch parameters you guys would like to see?
  • The the Titan and DefaultWide skin the Importer link on the hidden menu is at the very bottom. This is probably not ideal and it really should be grouped with the other primary Moving Pictures functions higher in the list.
  • Should we add an optional "Importer" entry to the Category list? Or is the slide out menu and context menu enough? Bear in mind not all users are pro like you. ;)
  • Can those stupid numbers leading each dialog entry be removed? They look horrible and provide seemingly little function.
  • Are the current number of status icons enough?
  • Do we need column headers for the list?
 
Last edited:

mbuzina

Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Germany Germany
    Country flag
    The numbers allow for quick selection of a menu item using the remote number keys.
     

    fforde

    Community Plugin Dev
    June 7, 2007
    2,666
    1,699
    39
    Texas
    United States of America United States of America
    • Thread starter
    • Moderator
    • #3
    The numbers allow for quick selection of a menu item using the remote number keys.
    Sure I know this. But in practice it makes the dialog look worse. It's a feature used by 4% of users that negatively affects the other 96% of users (pretend stats but you get my point). It's not even skinnable. We are here to talk about how to make more beautiful skins. The current implementation of the leading number in dialog selections is just a little inflexible and ugly.
     
    Last edited:

    mbuzina

    Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Germany Germany
    Country flag
    Great work. My small suggestions:
    1. Status Values should be:
    - Queued
    - In Process
    - Needs Input
    - Imported
    - Ignored
    Name the pin icons accordingly, so the skin designer can decide how it is displayed (it is not smart to change the color of led_yellow), allow translation of the status names
    2. Have a group by status view (so you can see al "needs user attention", "ignored", etc.)
    3. Having a 2 row list is probably better, as I can see some problems with longer file / movie names. You could also show the imdb id in the list then.
    4. Headers are not needed, this is clear enough
     

    emphatic

    Design Group
  • Team MediaPortal
  • August 25, 2006
    3,602
    1,093
    Alingsås
    Sweden Sweden
    Country flag
    I'd like to have an optional pop-up message that's shown when you enter Moving Pictures (or even restrict it to Moving Pictures->Latest added movies) that says "Importer needs your attention for #items, open importer now? YES/NO". Default is NO, so it can be quickly dismissed for higher WAF. This is also why it should be optional.

    Emph
     

    mbuzina

    Retired Team Member
  • Premium Supporter
  • April 11, 2005
    2,839
    726
    Germany
    Germany Germany
    Country flag
    I would prefer a Status line showing that there are N items requiring my Attention when entering Moving Pics. It should not Interrupt me in any way (I hate pop-ups!)
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,922
    1,228
    Saratov
    Russian Federation Russian Federation
    Country flag
    Great work. My small suggestions:
    1. Status Values should be:
    - Queued
    - In Process
    - Needs Input
    - Imported
    - Ignored
    Name the pin icons accordingly, so the skin designer can decide how it is displayed (it is not smart to change the color of led_yellow), allow translation of the status names
    2. Have a group by status view (so you can see al "needs user attention", "ignored", etc.)
    3. Having a 2 row list is probably better, as I can see some problems with longer file / movie names. You could also show the imdb id in the list then.
    4. Headers are not needed, this is clear enough
    1. Statuses are curently named as you say and they exposed as GUIListItem.Label3. But I'm agree with your suggestion to change icons name to something unique. Original icons with that names was only ones which suited our purposes. But you should know that each icon is mapped to sevaral statuses now.
     

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,922
    1,228
    Saratov
    Russian Federation Russian Federation
    Country flag
    @mbuzina Sorry maybe I don't understand you well. You need to show all ignored files for all period or what?
    Currently status is showing as ignored if you push button "Ignore" in GUI Importer. After ignoring it files will not show in importer anymore until we add "view ignored" button or smth
     
    Last edited:

    vuego

    Documentation Group
  • Team MediaPortal
  • August 5, 2006
    1,586
    745
    Göteborg
    Sweden Sweden
    Country flag
    Just tested this to watch a movie getting auto approved and ignoring a file and it works well (y)

    I think mbuzina would like to view the previously ignored files in GUI, just like Manage Ignored files in the Configuration - Movie Importer tab.
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    O Help with TV setup Newcomers Forum 76
    J Help with new grabber file. WebEPG 1
    J IPTV Sweden, need help with m3u list MediaPortal 1 Plugins 14
    wizard123 [solved] MP1 Build help MediaPortal 1 21
    D Please help with getting Schedules Direct to work Newcomers Forum 10
    U [solved] Beginner needs help recording live TV General 19
    A IPTV from https m3u8 urls - Help General 8
    mrmojo666 beginner: trying to write a plugin, need help to catch event General Development (no feature request here!) 3
    M A little help with new install pls Installation, configuration support 3
    N Music player help Listen Music 4
    A Enigma2 receiver channels on Windows PC with Media Portal help General Support 0
    A Help! MP2 - DVB-T Not recognised (DRIVERS?) General 12
    milagroso Remote control with EventGhost - I'm stuck, need help General 3
    D Font size reduced. help. Skins and Plugins Installer (MPEI) 0
    S Gpu/hdtv/mp setup help please Newcomers Forum 3
    W Need help getting my TV guide working again General Support 1
    A I need help with 110 and 119 west Installation, configuration support 21
    A Need help rescaning Channels for 110 and 119 west MediaPortal 1 Talk 2
    C EPG-Buddy: so close to no help needed Electronic Program Guide 8
    mjmapi Help, getting My TVSeries 16
    S Stiefmütterliche Unterstützung für Maussteuerung in MP (Titan Skin) Allgemeines Supportforum 14
    Rob Hexenmeister Skin functions: What is available? General Support 7
    Rob Hexenmeister Skinning Online Videos question OnlineVideos 2
    Rob Hexenmeister Quick question - skinning MyPics General Support 7
    ajs [Info] 0.7 Beta - MPExtended, WebMP, Bootstrap skin by ajs - Hard way MPExtended 602
    Top Bottom