[REQUEST] Media Flagging support in the MediaStream skin?
#16
lompelurt Wrote:Can you show us a picture? Please Nod

at work right now so maybe tonight or tomorrow. I do have the code if you would like to take a look. I put the following into the ViewsCoverflow.xml:

Code:
<!--      Sec 001
    This is the Newly Added Code
    It addes new Title / Rating / and Director
-->
      <control type="group">
        <description>Overlay for Movies info</description>
        <posx>460</posx>
        <posy>230</posy>
        <width>366</width>
        <height>350</height>
        <onleft>55</onleft>
        <onright>55</onright>
        <onup>9009</onup>
        <!-- These are the images for the Rating -->

        
        <!-- These are the images for the Studio -->
        <control type="image">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/default.png</texture>
            <visible>!Control.IsVisible(81) + !Skin.HasSetting(nodefaultflags)</visible>
        </control>                
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/20thcenturyfox.png</texture>
            <visible>substring(listitem.studio,Fox)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/universal.png</texture>
            <visible>substring(listitem.studio,Universal)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/filmfour.png</texture>
            <visible>substring(listitem.studio,FilmFour) | substring(listitem.studio,Channel Four)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/disney.png</texture>
            <visible>substring(listitem.studio,Disney) | substring(listitem.studio,Pixar)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/gaumont.png</texture>
            <visible>substring(listitem.studio,Gaumont)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/unitedartists.png</texture>
            <visible>substring(listitem.studio,Artists)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/newlinecinema.png</texture>
            <visible>substring(listitem.studio,New Line)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/dimension.png</texture>
            <visible>substring(listitem.studio,Dimension)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/touchstone.png</texture>
            <visible>substring(listitem.studio,Touchstone)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/hollywood.png</texture>
            <visible>substring(listitem.studio,Hollywood)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/carolco.png</texture>
            <visible>substring(listitem.studio,Carolco)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/revolution.png</texture>
            <visible>substring(listitem.studio,Revolution)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/lakeshore.png</texture>
            <visible>substring(listitem.studio,Lakeshore)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/lucasfilm.png</texture>
            <visible>substring(listitem.studio,Lucasfilm)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/screengems.png</texture>
            <visible>substring(listitem.studio,Screen Gems)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/warner.png</texture>
            <visible>substring(listitem.studio,Warner)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/tristar.png</texture>
            <visible>substring(listitem.studio,TriStar)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/castlerock.png</texture>
            <visible>substring(listitem.studio,Castle Rock)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/studiocanal.png</texture>
            <visible>substring(listitem.studio,Studio Canal)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/paramount.png</texture>
            <visible>substring(listitem.studio,Paramount) | substring(listitem.studio,Comedy Central)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/dreamworks.png</texture>
            <visible>substring(listitem.studio,DreamWorks)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/villageroadshow.png</texture>
            <visible>substring(listitem.studio,Roadshow)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/columbia.png</texture>
            <visible>substring(listitem.studio,Columbia)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/mgm.png</texture>
            <visible>substring(listitem.studio,Mayer) | substring(listitem.studio,MGM)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/sonypictures.png</texture>
            <visible>substring(listitem.studio,Sony)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/artisan.png</texture>
            <visible>substring(listitem.studio,Artisan)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/lionsgate.png</texture>
            <visible>substring(listitem.studio,Lionsgate)</visible>
        </control>
        <control type="image" id="81">
            <include>Furniture_ShowcaseMediaFlagsVars</include>
            <texture>flags/miramax.png</texture>
            <visible>substring(listitem.studio,Miramax) + !substring(listitem.studio,Universal)</visible>
        </control>

      </control>
<!--      Sec 001  END -->
Then all you do is make sure the flags folder and all .png files are there. Hope that helps... PS it is still nto perfect. I have to play with the position/ overlay since on some backgrounds you can not see them anyway.

SoBBie
Reply
#17
Would the flags folder go into 720p/media/flags or just 720p flags? Either way I didnt get too far. I didnt see any difference. Maybe I am not adding the code in the correct place.
Reply
#18
SlaveUnit Wrote:Would the flags folder go into 720p/media/flags or just 720p flags? Either way I didnt get too far. I didnt see any difference. Maybe I am not adding the code in the correct place.

media/flags no 720p
Reply
#19
Ok so I have taken the files from the flags folder from Aeon and put it into C:\Program Files\XBMC\media\flags. Then added the code above to the end of the file C:\Program Files\XBMC\skin\MediaStream\720p\ViewsCoverflow.xml. I still have nothing extra appear. Am I still missing something? Thanks.
Reply
#20
Are you on the latest media stream? I think I had to update my mediastream to have it work... Also I posted the entire file on pastebin.com:

http://pastebin.com/m5888be66

Have a good one... and good luck Smile

SoBBie

PS Sorry have not had a chance to take screen shot yet... and yes it is sloppy code right now... I was only playing with it out of boredom :\
Reply
#21
So I havent really set anything up for Aeon because I am really trying to hold out for flagging on mediastream. So here you will only see the studio and the rating since I havent labled my nfos or files properly. I also like media preview for the movies view here as well. So I would wouldnt be using this one. But it is a start.

Image

BTW this is a screenshot of super_sobbie's mod.
Reply
#22
Any way to put the symbols where the star rating is on the media preview page? Personally I could care less about what some other group rates a movie.

Image


So even after looking, what xml(s) deals with the Media preview view?
Reply
#23
SlaveUnit, thanks for the screenshot... only problem with mine is if you use backgrounds they can change, which will make the flags appear and disappear if the background is black or white...

Please remeber my skin was for fun... not to be final. I have been playing with a new phone (HTC) so I have not really played with my xbmc in a while. but if people are interested enough I may try to fix some of the flaggin in that skin.

When I was looking to play with modding it I found it in ViewsVideo.xml (confirmed that with a quick grep). I stopped because it was a little too complicated for my first mod. I found it easier to do what I did... I may get back into playing with the viewsvideo file... it is just hard to get around the file with all the settings that are in there.

Smile hope that helps...
SoBBie Nerd

PS if you noticed I also changed the title bar to put the information I wanted... not sure how that would work with music since I really do not use it.

LOL ok this is my third edit of this post.... To give you a head start you may want to search for the following and start there:
Code:
<control type="group">

                            <posy>144</posy>

                            <include>StarRatingDetails</include>
You will want to comment out part of that and probably add you code there (the code from aeon or mine). Smile have fun and happy modding Smile
Reply
#24
So I am looking at the code you took from Aeon. Where is it getting the MPAA ratings from? It doesnt list all the images like it does for hte studios.
Reply
#25
Here are a couple screen shots on what seems to have the studio icon working. Hell if I know where to go after this Smile

super_sobbie...so I am assuming you are getting this code from Includes_MediaFlags.xml in Aeon?

Image
Image
Reply
#26
Getting there....well it works for the most part. Im sure the code is sloppy as hell if you know what you are looking at. This is just a sloppy starter to get people going if interested. But this is a real screenshot listed. Not a mockup like my initial one.

Here is how to get it going....

files - http://www.megaupload.com/?d=DQY8V8AD
Unrar the flags to C:\Program Files\XBMC\skin\MediaStream\media\flags and put the ViewsVideo.xml in your C:\Program Files\XBMC\skin\MediaStream\720p
Please backup your old one first.

This "mod" should work the same as the Aeon one does. Its fairly simple with Media Info Plus I would think. I dont have any of my nfo files done correctly except for the test one of Nightmare On Elm Street. Feel free to play with this and make any changes. We all benefit from the more ideas that arise.
Image
Edit: Flags have been resized and spacing is now more accurate. The current screenshot represents this.
Reply
#27
ahhh finally I forgot to activate my new email adress so I was locked... LOL you know BB should post the problem when you log in... it is a pain in the but to try to figure out why you can not post a message.

Anyway, I am not sure what you mean when you say

[quote]
Where is it getting the MPAA ratings from? It doesnt list all the images like it does for hte studios.[qoute]

What you want to look for it the following lines of code:

Code:
        <control type="image">
            <include>Objects_FSInfoCertificate</include>
            <texture>flags/mpaa_pg13.png</texture>
            <visible>substring(listitem.mpaa,Rated PG-13)</visible>
        </control>

note the format. this is looking for a file "mpaa_pg13.png" for the image. and it is looking in the mpaa field for the string "Rated PG-13". if there are rating missing you can add them right in that section. just copy everything but change the image and the search criteria (also make sure you put that image in the flags folder).

you can do the same with studios if you want to add more studios just find the code:

Code:
<control type="image" id="81">
    <include>Furniture_ShowcaseMediaFlagsVars</include>
    <texture>flags/lucasfilm.png</texture>
    <visible>substring(listitem.studio,Lucasfilm)</visible>
</control>

once again change the search part (after the comma) and the image file. bam you have your own. if you need help let me know... it is all playing... also make sure you put what you want to add at the end... from what I can tell xml is all about the order. if you put your changes too far up the nex xml part may overlay it.

if you want you can PM me with any questions... I am no expert... but i do believe that bouncing ideas off people helps with creativity.

SoBBie Cool
Reply
#28
SlaveUnit, that's actually pretty close to what I imagined, although I really don't care about the MPAA and it doesn't really fit in anyway (IMO)Wink

But just to be a bit picky: I think the flags should be smaller and aligned to the right, but that's pretty much the only thing preventing it from being perfect Big Grin

Will definately give it a try!
Reply
#29
Yeah Im still placing things around. I really have no clue what Im doing but trial and error is the way for me on this. You can very easily put the MPAA back how it was. Just look in the ViewsVideo.xml and put the part I commented out back in. Then take out the new MPAA part out. Youll see it in the file pretty easily.


The reason they are not more to the right is because when you get a movie with more that a couple writers it pops into more lines below, overlapping the flag files. Ive seen a couple movies fill up the writers section to the end of the screen.

Making them smaller isnt too tough. Just gotta do a batch job in photoshop resizing them. Then gotta line them up again in the xml file.

If you want give me a mockup of what you think would looks good. Like how small and exactly where you think they would look best.
Reply
#30
Although the studio flag is a bit too big. I kinda like this layout a bit more. That way if the studio flag isnt available you wont notice it not being there as much. That is with the default studio flag being blank instead of the question mark.

Image
Reply

Logout Mark Read Team Forum Stats Members Help
[REQUEST] Media Flagging support in the MediaStream skin?0