INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: theater view without visualisations  (Read 1155 times)

joene

  • Member
  • *
  • Posts: 1
theater view without visualisations
« on: May 19, 2006, 07:51:05 am »

is there any way to have the theater view without the visualisation?

So you just can see the controls and the track info

thnx

(sorry if there already was a topic about this but i looked around and didn't see any topic)

Logged

Doof

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5908
  • Farm Animal Stupid
Re: theater view without visualisations
« Reply #1 on: May 19, 2006, 09:32:38 am »

Yes, you can, but you have to do some rather simple XML editing to make it happen.

Here's an example using the Hairstyle skin for Theater View (all skins may be different but you should be able to follow along with the Hairstyle skin and see what I'm talking about)...

First, go to the folder that holds the skin you want to edit. In this case, on my PC, it's C:\Program Files\J River\Media Center 11\FullSkins\Hairstyle

Then open the main.xml file in Notepad. You'll probably want to make a backup of it before you really start editing it, though, just in case you mess up.

Look for a line similar to this <PIP Rect="1.2,76.5,22.2,97.5" PlayingNowRect="0.9,51.0,99.5,99.5" />  Depending on the skin, the values may be different than this, but this is the line you're looking for. Just delete that entire line. It's the line of text that tells MC where to draw the vis window. Removing it will remove the vis window.

Now, in the case of the Hairstyle skin, the Playing Now screen has a vis window that takes up the entire lower half of the screen, causing the controls and play list to only use the top half. To fix that we need to make some adjustments elsewhere.

For the controls, look for the section marked with <BUTTONS>.  In this case, the whole section looks like this:


<BUTTONS>
   <Position Rect="0.9,8.0,22.5,76" NoListRect="35,10,65,90" PlayingNowRect="0.9,8.0,22.5,50.0"
      ButtonVerticalSpacing="8" Alignment="1" NoListAlignment="0" />
   <Image Bitmap="Buttons\Button.png" Columns="36,?-Flex,36" Rows="10,?-Flex,10" InternalMargins="10,4,10,8" />
   <Text TextColor="FFFFFF" SelectedTextColor="1055B7" Capitalization="0" />
</BUTTONS>


In there, you'll see another line that starts off with <Position Rect= and a bunch of numbers (in this example it reads <Position Rect="0.9,8.0,22.5,76" NoListRect="35,10,65,90" PlayingNowRect="0.9,8.0,22.5,50.0"). You should see a value in there called PlayingNowRect followed by four sets of numbers seperated by commas. The first two sets define where to put the controls. The second set defines how big to make them. It's the very last number that defines how much of the vertical space the controls should use. In this case it's 50.0 (50% of the vertical space). Change that number to be 76 (to match the vertical height value specified in Position Rect which is what Theater View will use everywhere other than Playing Now).

That should take care of the controls, but we're still not quite done. There's another section called <LIST>. In this case it looks like this:


<LIST>
   <Position Rect="23.4,8.0,99.5,99.5" PlayingNowRect="23.4,8.0,99.5,50.0" ItemsRect="0,0,100,100"
      ImageRect="1,1,99,99" ImageWithTextRect="1,1,99,82" TextRect="1,84,99,98" />
   <Text TextColor="FFFFFF" SelectedTextColor="1055B7" Capitalization="0"/>
   <ThumbBackground Bitmap="List\ThumbBackground.png" Columns="10,?-Flex,10" Rows="10,?-Flex,10" InternalMargins="6,6,6,6" />
   <ListBackground Bitmap="List\ListBackground.png" Columns="10,?-Flex,10" Rows="10,?-Flex,10" InternalMargins="6,6,6,6" />
   <NoThumb Bitmap="List\NoThumb.png" />
   <BackThumb Bitmap="List\BackThumb.png" />
   <FolderThumb Bitmap="List\FolderThumb.png" />
   <Check Bitmap="List\Check.png" ThumbRect="2,59.5,34,82.5" ListRect="95.2,0,100,100" Rows="2,?-Flex,4" Colums="2,?-Flex,3" />
   <PlayOverlay Bitmap="List\PlayOverlay.png" ThumbRect="0,60,35,95" ListRect="94,0,100,100" />
</LIST>


In here, it's again the <Position Rect= line we're interested in. The PlayingNowRect again defines the vertical height to be only 50.0. Change that value to be 99.5 (to match the value that this skin is using to display other lists other than Playing Now).

And that should do it. Save your main.xml and load up Theater View. The vis windows should be gone. You'll want to back up the file you just edited, though because I'm pretty sure MC will overwrite it the next time it does an install. You could always copy the entire skin folder and give it a different name and MC should leave it alone on further installs.
 
If you have any questions feel free to ask, or if you like, let me know which skin you're using and I can make the edits for you.
Logged

MrHaugen

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 3774
Re: theater view without visualisations
« Reply #2 on: May 19, 2006, 11:22:50 am »

Thanks alot Doof!

Well explained. Think I can change it on my own next time  :)
Logged
- I may not always believe what I'm saying

shortie

  • Regular Member
  • Junior Woodchuck
  • **
  • Posts: 70
  • reachin' up to touch bottom
Re: theater view without visualisations
« Reply #3 on: May 19, 2006, 04:56:06 pm »

Excellent info, Doof, thanks!  I've been thinking of plunging into the XML for a while now.  With your explanation I'm a lot less nervous about it.

FWIW, if you're playing streaming Internet radio stations that provide song info, the Playing Now piece is all but useless because it's not updated when the song meta-data is changed.  11.1.184 has a fix which keeps the Track Info current, though.
Logged
Shortie
Pages: [1]   Go Up