Moving Pictures (22 Viewers)

Lehmden

Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,584
    3,973
    Lehmden
    Home Country
    Germany Germany
    AW: Moving Pictures

    Hallo.
    Im Feld "Sprache" wird normalerweise die Original- Sprache eingetragen. Bei Englisch weiß man aber nicht, ob der Film aus USA, Kanada, Australien oder England kommt. Ich habe bisher manuell jeweils die Sprache dort eingetragen, in der ich den Film vorliegen habe. Meist Deutsch, aber bestimmte Sachen wie "Blues Brothers" oder "Rocky Horror" muss man einfach im Original haben....

    Ein extra Feld für das Herkunftsland wäre ziemlich sinnvoll. Allerdings weiß ich nicht, ob die APIs von IMDB und CO das überhaupt hergeben.
     

    eselwald

    Portal Member
    April 3, 2011
    17
    0
    40
    Hamburg
    Home Country
    Germany Germany
    AW: Moving Pictures

    Hallo Ihr lieben,

    gibt es eine Möglichkeit dass ich sehe ob die Filme in 3D sind? Also so ein Button unten wo auch die anderen Infos stehen wie Auflösung etc.? Wenn nein hat da wer eine Idee wie man das machen könnte. Da ich einige Filme in 3D und 2D habe würde ich das gerne unterscheiden.

    LG,
    der esel
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    AW: Moving Pictures

    Falls du das Language Feld nicht benötigst kannst du dir die 3D Filme über diesen String anzeigen lassen. Allerdings musst du dann bei allen 3D Filmen manuell das Language Feld in der Config ausfüllen z.B. mit 3D.

    In den jeweiligen xmls musst dann natürlich auch noch alles entsprechend ändern, damit es angezeigt wird.
     

    eselwald

    Portal Member
    April 3, 2011
    17
    0
    40
    Hamburg
    Home Country
    Germany Germany
    AW: Moving Pictures

    Das hört sich schon Mal nicht schlecht an. Nur wie macht man das genau? Mit den XML-Dateien habe ich mich noch kein bisschen ausseinander gesetzt?!
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    AW: Moving Pictures

    Das ist nicht sooooo schwierig.. als erstes brauchst du natürlich ein 3D Logo im .png Format. -> 3D.png.

    Dieses .png speicherst du im Media Ordner von dem Skin, den du verwendest. z.B. ...skin\StreamedMP\Media\Logos. Den Ordner Logos legst du halt einfach an, falls noch nicht vorhanden.

    Jetzt gehst du in die movingpictures.xml (dazu benötigst du nen xml Editor), wo du das Logo später angezeigt haben willst. z.B. detailsview, thumbsview, listview usw und fügst z.B. folgendes ein.

    <control>
    <description>3D Logo</description>
    <type>image</type>
    <id>0</id>
    <posX>900</posX>
    <posY>395</posY>
    <width>90</width>
    <height>78</height>
    <texture>Logos\#MovingPictures.SelectedMovie.language.png</texture>
    <visible>!Control.IsVisible(50)+!Control.IsVisible(51)</visible>
    </control>

    mit posX und posY änderst du die Lage des 3D Logos, mit width und height die Breite und Höhe, sprich die Größe des 3D Logos.

    Die Visibility ist in meinem Fall jetzt für den detailsview von MovingPictures. Wenn du es im thumbsview, filmstripview oder listview angezeigt haben willst musst du !Control.IsVisible(50)+[facadeview.smallicons|facadeview.largeicons] für thumbsview, !Control.IsVisible(50)+fascadeview.list für Listview und !Control.IsVisible(50)+fascadeview.filmstrip für Filmstrip als Visibility eintragen.
     

    eselwald

    Portal Member
    April 3, 2011
    17
    0
    40
    Hamburg
    Home Country
    Germany Germany
    AW: Moving Pictures

    Vielen Dank,
    nun bin ich schon einen Schritt weiter. Leider wird dieses Logo nun bei allen Filmen Angezeigt egal ob ich im Language Feld was stehen habe oder nicht.

    Folgendes habe ich in die movingpictures.xml eingefügt:

    <control>
    <description>3D</description>
    <type>image</type>
    <id>0</id>
    <posX>900</posX>
    <posY>395</posY>
    <width>111</width>
    <height>66</height>
    <texture>Logos\3D Logo.png</texture>
    <visible>!Control.IsVisible(50)+!Control.IsVisible(51)</visible>
    </control>

    Hast Du da eventuell noch einen Tipp?

    Beste Grüße,
    der esel
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    AW: Moving Pictures

    Ja, das Texture-Feld muss so aussehen: <texture>Logos\#MovingPictures.SelectedMovie.language.png</texture>

    Und nicht in der movingpictures.xml ändern. Nimm die jeweiligen xmls der views. z.B. movingpictures.details.xml oder movingpictures.listview.xml. Weiß grad nicht genau, wie die xmls heißen, aber müsste so ähnlich sein.

    Noch was: Wenn du dein Logo "3D Logo" nennst musst du in der MovingPictures Configuration bei dem Filmfeld Language auch "3D Logo" eingeben. Deswegen würd ich das png nur 3D nennen. Hast weniger zu schreiben.
     

    dlarge500

    Extension Designer
  • Premium Supporter
  • May 21, 2009
    1,491
    400
    46
    NRW
    Home Country
    Germany Germany
    AW: Moving Pictures

    Das ich ja auch alles Quark so.:D

    1. <visible>!Control.IsVisible(50)+!Control.IsVisible(51)</visible> sollte erstmal garnichts zu sehen sein in den Ansichten.

    (50) sind die Ansichten und (51) is die Kategorienauswahl in MovPiv.

    2. kannste nich einfach ein 3D Logo einbauen wie du lustig bist weil MovPic ja schlecht erkennen kann wann er das Logo anzeigen soll. Dafür müssen in MovPic regeln eingebaut werden, ob MP das kann weiß ich nich.

    3. Mußte ihm sagen wann er es anzeigen soll also bei welchem Medium

    d. h.

    wenn so

    <visible>facadeview.list+Control.IsVisible(50)+!Control.IsVisible(51)+string.equals(#MovingPictures.LocalMedia.videoformat,3D)</visible>

    oder wie auch immer 3D erkannt werden kann
     

    Holzi

    Super Moderator
  • Team MediaPortal
  • April 21, 2010
    7,934
    2,235
    Ba-Wü
    Home Country
    Germany Germany
    AW: Moving Pictures

    In den Ansichten ist das auch nicht zu sehen. Aber bei mir im detailsview.
    Deswegen das beachten:
    Die Visibility ist in meinem Fall jetzt für den detailsview von MovingPictures. Wenn du es im thumbsview, filmstripview oder listview angezeigt haben willst musst du !Control.IsVisible(50)+[facadeview.smallicons|facadeview.largeicons] für thumbsview, !Control.IsVisible(50)+fascadeview.list für Listview und !Control.IsVisible(50)+fascadeview.filmstrip für Filmstrip als Visibility eintragen.

    Das Problem ist ja gerade, dass MovingPictures keine Info für 3D Filme hat. Oder geht das? -> string.equals(#MovingPictures. LocalMedia.videoformat,3D)
    Deswegen soll es über den Language String durch manuelle Eingabe in der Config erfolgen.
     

    dlarge500

    Extension Designer
  • Premium Supporter
  • May 21, 2009
    1,491
    400
    46
    NRW
    Home Country
    Germany Germany
    AW: Moving Pictures

    <visible>facadeview.list+Control.IsVisible(50)+!Control.IsVisible(51)</visible>

    ist ja in dem Fall richtig sollte das nur in der Detailsansicht zu sehen sein.

    Ich denke nich das MovPic 3D formate erkennt per Regel aber das per manuele eingabe so zu machen is auch nich das goldene vom Ei.

    Warum wird denn keine neue Kategorie angelegt "3D FILME" und man schiebt die Movies darein.
     

    Users who are viewing this thread

    Similar threads

    i think info but I'm really not sure
    i think info but I'm really not sure
    When I import new films using Moving Pictures, it takes an incredibly long time for the information to be found and downloaded...
    Replies
    3
    Views
    723
    I've updated dlls in first post. Fixes: Summary / Overview was always empty Collections were not filtered to official ones Studios were not populated Fallback to english tagline didn't work Score / Popularity now empty instead of dummy rating and unknown popularity numbers Also I've tried to compile plugin against MP 1.34 x64 and...
    I've updated dlls in first post. Fixes: Summary / Overview was always empty Collections were not filtered to official ones Studios...
    Hi! TheTVDB.com has movies in their API now. API itself looks ok now so I decided to add TVDB to Moving Pictures. Check it if you...
    Replies
    2
    Views
    2K
    My problem is that I would like to switch from Kodi to Mediaportal. In Kodi, putting an Extras folder in the same folder as the movie automatically manages all the extras on the Bluray, so my library is organized in this way. Moving everything would be a very long job (I have more than 2800 movies), plus I would lose the Extras...
    My problem is that I would like to switch from Kodi to Mediaportal. In Kodi, putting an Extras folder in the same folder as the...
    Hello, is it possible to exclude some folders from the Moving Pictures scan? My movies are organized in separate folders...
    Replies
    4
    Views
    3K
    maybe setting loglevel to debug might pinpoint the difference between normal and stuck? Preferable with as much disabled as possible also try to see if anything is happening during stuck for the mediaportal process(resource monitor, disk activity, cpu usage, anything) maybe other programs competing for resouces?
    maybe setting loglevel to debug might pinpoint the difference between normal and stuck? Preferable with as much disabled as...
    Since over a year my MP sometimes stucks while showing the welcome screen. It started once a week now it happens every second time...
    Replies
    4
    Views
    1K
    • Sticky
    yes that is indeed what I did in that ticket. It may already be working without updating those plugins because most of it was not relevant to the plugin itself (test, some leftover unused parts etc).
    yes that is indeed what I did in that ticket. It may already be working without updating those plugins because most of it was not...
    We have just released MediaPortal 1.38 - Tatiana & Leo x86 and x64 version. Highlights of this release Bugfixes: New...
    Replies
    37
    Views
    10K
    Top Bottom