Way to fix folder names cut off with ... in middle pane? [R]

Need help? Post your questions here.

Moderator: moderators

Way to fix folder names cut off with ... in middle pane? [R]

Postby lovebags » Thu Jan 12, 2012 7:49 am

Is there any reason why the folder names are cut down to around 32 characters plus "..." when they are too long in the middle pane? It would be ideal to be able to see the entire folder name if you have enough screen space to show it. Perhaps this is something that needs re-coding in the source, anyone tried doing this before?
User avatar
lovebags
 
Posts: 86
Joined: Wed Feb 02, 2011 1:49 am

Re: Way to fix folder names cut off with ... in middle pane?

Postby ytechie » Thu Jan 12, 2012 8:01 am

I am pretty sure it is configurable. Try taking a look at your personal settings. There should be options there.
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Way to fix folder names cut off with ... in middle pane?

Postby lovebags » Thu Jan 12, 2012 8:16 am

ytechie wrote:I am pretty sure it is configurable. Try taking a look at your personal settings. There should be options there.

Great thanks for the tip. Ideally I'd like to set the caption cutoff globally for all users from the default 35 to around 75. I've dug around the code to find where this is set but it doesn't seem obvious anywhere.
User avatar
lovebags
 
Posts: 86
Joined: Wed Feb 02, 2011 1:49 am

Re: Way to fix folder names cut off with ... in middle pane?

Postby ytechie » Thu Jan 12, 2012 9:12 am

You could change the database if you're gutsy.

As an admin, go to [subsonic]/db.view and type:
Code: Select all
update user_settings set main_caption_cutoff = 35
where 35 can be any number you want. This will change the caption cutoff for everyone.

Note: Be careful! You could mess a lot up in the database. If you type what I quoted above, you won't have any problems.

Maybe make a copy of the db folder before you start. I do.

Hope this helps!
:D
User avatar
ytechie
 
Posts: 547
Joined: Sun Dec 12, 2010 5:05 am
Location: Manhattan, New York

Re: Way to fix folder names cut off with ... in middle pane?

Postby lovebags » Sat Jan 14, 2012 11:00 am

wow, that's awesome. Didn't know about that db.view thing but that alteration worked a treat. thanks again!
User avatar
lovebags
 
Posts: 86
Joined: Wed Feb 02, 2011 1:49 am


Return to Help

Who is online

Users browsing this forum: No registered users and 15 guests