Page 1 of 1

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

PostPosted: Thu Jan 12, 2012 7:49 am
by lovebags
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?

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

PostPosted: Thu Jan 12, 2012 8:01 am
by ytechie
I am pretty sure it is configurable. Try taking a look at your personal settings. There should be options there.

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

PostPosted: Thu Jan 12, 2012 8:16 am
by lovebags
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.

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

PostPosted: Thu Jan 12, 2012 9:12 am
by ytechie
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

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

PostPosted: Sat Jan 14, 2012 11:00 am
by lovebags
wow, that's awesome. Didn't know about that db.view thing but that alteration worked a treat. thanks again!