View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 7 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Jul 17, 2005 9:21 am 
Offline
Joined: Mon Nov 15, 2004 4:05 pm
Posts: 15
Location: Oregon, USA
Hello all -
I first want to say a HUGE THANKS to the developers, maintainers and users of MythTV and KnoppMyth. After reading through the how-tos and postings here and on the KnoppMyth Wiki I have succeeded building a box and getting it working great (KnoppMyth 5A16, upgraded from v5r4, AMD Athlon XP2800+ on ABIT AN7 mobo with SPDIF out, Silverstone LC03 case).

Now I have some tuning and cleanup to do to finish it up.

What I'm running into today is when I use MythMusic, and look at the song or album listing in the larger scroll window, the topmost line of text is obscured by the border of that window. So on every album, I can't view the name of the first song at the top, for example.

Is there any way to have fewer lines show up in that scroll area? Does anyone else have this problem?

That's the only place in the entire GUI where I see this, and I would imagine that's due to MythMusic being a separate module from regular MythTV.

I could try to shrink the text, but it's tiny enough now, and would be unreadable if shrunk any further.

Any help would be appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 17, 2005 6:18 pm 
Offline
Joined: Tue Feb 08, 2005 5:18 pm
Posts: 70
Could it be the theme? Do all the themes have the problem?


Top
 Profile  
 
PostPosted: Sat Jul 23, 2005 7:33 pm 
Offline
Joined: Mon Nov 15, 2004 4:05 pm
Posts: 15
Location: Oregon, USA
I just had a chance to run through a number of themes and the problem only occurs using the "blue" default theme.

Other themes will properly fit the text within the borders of the box of the scroll area. That leads me to believe it's probably in some XML code, but I haven't the foggiest what portion of it is responsible. I'm fairly sure the file responsible is /usr/share/mythtv/themes/blue/music-ui.xml .

Any hints what portion controls this?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 24, 2005 12:47 pm 
Offline
Joined: Tue Feb 08, 2005 5:18 pm
Posts: 70
I haven't tried anything but from looking it over I think the two scroll areas are defined by the <bin number="1"> and <bin number="2"> sections in the 'musicselector' container. bin 2 would be the bigger scroll area on the right. The <area> tags define the position and size of the scroll area rectangle as, x-position,y-position,x-length,y-length. That is, the first two numbers are the x and y coordinates for the upper left corner and the second two are the number of pixels across and the number of pixels down. Note that the x and y position coordinates are not necessarily relative to the screen. 0,0 may not be the upper left corner of the screen if it is defined inside another area, in which case it is relative to the outer area. Soooo, you may be able to adjust the y-position numbers (currently 0) to push the scroll area down a bit so it isn't obscured by the graphics. You may need to shrink the y-length by the same ammount. I don't know if there will be any side effects, but if you don't want to switch themes it is worth a try. Note, anything inside <!-- --> tags is a comment.

Another possibility... if you can find the graphic file that is used for the borders of the scroll lists you could edit it and maybe remove the top border or something. I couldn't tell where it comes from though.


Top
 Profile  
 
PostPosted: Sun Jul 24, 2005 1:33 pm 
Offline
Joined: Mon Nov 15, 2004 4:05 pm
Posts: 15
Location: Oregon, USA
crabby - Thanks for the hints. I'll take a look at it when I get a chance.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 04, 2005 4:19 pm 
Offline
Joined: Mon Aug 02, 2004 2:04 am
Posts: 7
Location: Victoria, BC
This worked nicely for me...although I'd still like to tweak some other parts of the interface at some point. The area that shows the visualization and current song data is often not wide enough (when there's a long song name), so I'd like to make it wider.

Code:
<managedtreelist name="musictreelist" draworder="1" bins="2">
                <!--
                    regular area, but is only used if the user has
                    ShowWholeTree set to false.
                -->
                <area>20,0,760,300</area>
                <!--
                    An image to show the current navigation node
                -->
                <image function="selectionbar" filename="cr-selectbar.png"   location="-12,-5" padding="12" fleximage="no"></image>
                <!--
                    Some arrow images
                 -->
                <image function="uparrow" filename="uparrow.png"  location="-20,10"></image>
                <image function="downarrow" filename="downarrow.png"  location="-20,-10"></image>
                <image function="leftarrow" filename="mm_left_arrow.png"></image>
                <image function="rightarrow" filename="mm_right_arrow.png"></image>
                <!--
                    the area of particular bins
                    you can make them show right to left,
                    top to bottom, and layer graphics on top
                    however you like

                    NB: bins number 1 to # of bins inclusive
                        not 0 to #-1
                -->
                <bin number="1">
                    <area>30,0,190,280</area>
                    <fcnfont name="list-active" function="active"></fcnfont>
                    <fcnfont name="list-inactive" function="inactive"></fcnfont>
                    <fcnfont name="list-selected" function="selected"></fcnfont>
                </bin>
                <bin number="2">
                    <area>235,15,555,260</area>
                    <fcnfont name="list-active" function="active"></fcnfont>
                    <fcnfont name="list-selected" function="selected"></fcnfont>
                    <fcnfont name="list-inactive" function="inactive"></fcnfont>
                </bin>
            </managedtreelist>


this is the music-ui.xml file located in the above mentioned directory.

Cheers!

_________________
planman.net


Top
 Profile  
 
PostPosted: Tue Aug 23, 2005 7:33 pm 
Offline
Joined: Mon Nov 15, 2004 4:05 pm
Posts: 15
Location: Oregon, USA
Planman - Those changes worked perfectly!

Thanks!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu