MOD - Moving Pictures multiple fanarts (slideshow) (1 Viewer)

pünktchen

Portal Pro
October 26, 2010
537
201
Home Country
Germany Germany
For those who ever wanted multiple backdrops in Moving Pictures, here you go.
There is only 1 real requirement - XBMC style of your media collection:

Code:
mediafiles
    |__moviefolder
            |__movie.ext
            |__extrafanart                 <-Has to be created by you! (folder)
                    |__fanart1.jpg         <-Has to be created by you! (files)
                    |__ ...
                    |__fanart5.jpg

For non western europe characters in your moviefilenames, you have to edit the "string.rtrim" expressions.
Be aware that it could probably slow down your scrolling experience in Moving Pictures!
Make a backup of your original movingpictures.xml!


edit: the string.rtrim expression doesn't like "&", so a new upload.
edit2: bugfixing
 

Attachments

  • ExtraFanart_v3.rar
    2.5 KB
Last edited:

badboyxx

Portal Pro
June 15, 2012
728
97
Home Country
Germany Germany
I've been waiting a long time for this.
Can you describe it more accurately. I don't understand how you mean it. What is extrafanart, do I have to create a new folder?
 

pünktchen

Portal Pro
October 26, 2010
537
201
Home Country
Germany Germany
Yes you have to: http://wiki.xbmc.org/index.php?title=Extra_fanart

The skin file loads up to five images, named "fanart1.jpg, fanart2.jpg ..." from inside a folder called "extrafanart", that has to be alongside your moviefile.
Than it starts a simple animation which changes your background picture every 20 seconds.
It is done in realtime...
 

badboyxx

Portal Pro
June 15, 2012
728
97
Home Country
Germany Germany
Oh s**t, I didn't see that this mod is only for Titan skin. Maybe it is possible to do the same for StreamedMP skin? Which text do I have to copy or is it not possible?
 

pünktchen

Portal Pro
October 26, 2010
537
201
Home Country
Germany Germany
In movingpictures.xml replace
Code:
  <control>
  <description>Movie Backdrop (Fan Art)</description>
  <type>image</type>
  <id>1</id>
  <posX>0</posX>
  <posY>0</posY>
  <width>1920</width>
  <height>1080</height>
  <texture>#MovingPictures.Backdrop</texture>
  <animation effect="fade" time="300">visible</animation>
  <animation effect="fade" time="300" delay="300">hidden</animation>
  </control>
  <control>
  <description>Alternate Movie Backdrop</description>
  <type>image</type>
  <id>11</id>
  <posX>0</posX>
  <posY>0</posY>
  <width>1920</width>
  <height>1080</height>
  <texture>#MovingPictures.Backdrop2</texture>
  <animation effect="fade" time="300">visible</animation>
  <animation effect="fade" time="300" delay="300">hidden</animation>
  </control>
with
Code:
<include>movingpictures.extrafanart.xml</include>
 

badboyxx

Portal Pro
June 15, 2012
728
97
Home Country
Germany Germany
I modified my existing xml-file like the attached one but nothing changed. Can you tell me what am I doing wrong please?
I put the movingpictures.extrafanart.xml file into the streamedmp skin folder and created the extrafanart fodler with the 5 pictures in the movie folder.
 

Attachments

  • folder_movie.jpg
    folder_movie.jpg
    138.1 KB
  • folder_extrafanart.jpg
    folder_extrafanart.jpg
    145.5 KB
  • MovingPictures.xml
    4 KB

pünktchen

Portal Pro
October 26, 2010
537
201
Home Country
Germany Germany
Can you send me your MediaPortal.log?

Ah, i see you didn't follow my instructions. By "replace" i mean delete. Not only insert <include>.
Try it with this one:
 

Attachments

  • MovingPictures.xml
    3.2 KB
Last edited:

badboyxx

Portal Pro
June 15, 2012
728
97
Home Country
Germany Germany
Pünktchen it works now with your file but I still have a weird behaviour. When I highlight the movie, it doesn't change the background after the 20 seconds. I noticed that when I wait a long time and then press the home button on my remote, when the MP screen is changing to the home screen, a short time before I see the next background. Now when I go back to MovPic and wait the 20 seconds the background is changing. Perhps you can find something in the log file.
 

pünktchen

Portal Pro
October 26, 2010
537
201
Home Country
Germany Germany
@badboyxx Can you try the attached xml please and give feedback.
The original backdrops don't change as smooth as before, but it is acceptable and the extrafanart animation should work now always.
 

Attachments

  • movingpictures.extrafanart.xml
    12 KB

badboyxx

Portal Pro
June 15, 2012
728
97
Home Country
Germany Germany
Now it works really smooth but two little problems do I have:

1. The first starting of the slide show takes almost 1 minute. Can I reduce this time somehow? Can I reduce the time of the switching between the backdrops too?

2.
For non western europe characters in your moviefilenames, you have to edit the "string.rtrim" expressions.
Be aware that it could probably slow down your scrolling experience in Moving Pictures!
Make a backup of your original movingpictures.xml!


edit: the string.rtrim expression doesn't like "&", so a new upload.

How do you mean it? I have a movie with a &-character and it doesn't work. Only adding the character into the extrafanart-file doesn't work.
 

Users who are viewing this thread

Top Bottom