INTERACT FORUM

More => Old Versions => JRiver Media Center 26 for Windows => Topic started by: MrEWhite on June 23, 2020, 12:29:09 am

Title: If "-" is at the start of a song title, it isn't shown in JRiver when playing
Post by: MrEWhite on June 23, 2020, 12:29:09 am
Don't know if this is with all uses of "-" but when I was playing Metallica's S&M and the song "- Human" came on, on the title at the top didn't contain the - at the top.
(https://i.imgur.com/y4QAqqb.png)
Title: Re: If "-" is at the start of a song title, it isn't shown in JRiver when playing
Post by: RoderickGI on June 23, 2020, 02:24:37 am
Is it actually in the [Name] field?

If you are expecting to see it because it is in the file name, MC may have removed it as part of the import process.

If it isn't in the [Name] field just add it back in.
Title: Re: If "-" is at the start of a song title, it isn't shown in JRiver when playing
Post by: Awesome Donkey on June 23, 2020, 04:28:12 am
I see it just fine here.

Title: Re: If "-" is at the start of a song title, it isn't shown in JRiver when playing
Post by: MrEWhite on June 23, 2020, 01:57:25 pm
Is it actually in the [Name] field?

If you are expecting to see it because it is in the file name, MC may have removed it as part of the import process.

If it isn't in the [Name] field just add it back in.
It is in the name field. Weird that it's showing for Awesome Donkey.
(https://i.imgur.com/UHfzxzm.png)
Title: Re: If "-" is at the start of a song title, it isn't shown in JRiver when playing
Post by: MrEWhite on June 23, 2020, 01:59:26 pm
Actually, it seems that if I put the title at the end of the title display, it shows right, but if I put it at the start like previously pictured, it shows incorrectly. (https://i.imgur.com/2Qdl1qx.png)

But I prefer it showing how I previously had it.
Title: Re: If "-" is at the start of a song title, it isn't shown in JRiver when playing
Post by: RoderickGI on June 23, 2020, 05:51:20 pm
I should have looked at the details section of your image, where the [Name] field is shown.  ::) at me.

MC is doing some automatic cleanup by the look. Even changing the Display Title area to use the [Name] field literal, using [Name, 0] still trims the "- " from the front of the name. In fact, I can't find any way to force Mc to retain the "- ".

Maybe someone else can work out how to display it. Although it is a bit of a Corner Case. It's not very common to have what is essentially punctuation at the beginning of a Track name.

Title: Re: If "-" is at the start of a song title, it isn't shown in JRiver when playing
Post by: MrEWhite on June 25, 2020, 07:59:24 pm
I should have looked at the details section of your image, where the [Name] field is shown.  ::) at me.

MC is doing some automatic cleanup by the look. Even changing the Display Title area to use the [Name] field literal, using [Name, 0] still trims the "- " from the front of the name. In fact, I can't find any way to force Mc to retain the "- ".

Maybe someone else can work out how to display it. Although it is a bit of a Corner Case. It's not very common to have what is essentially punctuation at the beginning of a Track name.
It isn't a huge issue, just a nitpick, but would be nice to have it properly shown.
Title: Re: If "-" is at the start of a song title, it isn't shown in JRiver when playing
Post by: Matt on June 26, 2020, 09:12:40 am
We call JRString::CleanFilledTemplate which does this:
// cut off a leading "- " if it exists (don't just trim left a minus because negative numbers aren't uncommon)

I think cleaning the filled templates is probably good because it fixes problems.

So I would say this is just the way it is.
Title: Re: If "-" is at the start of a song title, it isn't shown in JRiver when playing
Post by: Jamil on June 26, 2020, 09:24:56 am
Don't know if this is with all uses of "-" but when I was playing Metallica's S&M and the song "- Human" came on, on the title at the top didn't contain the - at the top.

You may be able to work-around their logic by using a different Unicode character that resembles "-".

For example:

(https://dl.dropboxusercontent.com/s/cb139uudb4x5uv9/MC26_work-around1.png)

The above is different from the standard ANSI "-".  This is Unicode character 02D7.

You may launch charmap.exe, find this character, copy it to the clipboard, then paste replacing the standard "-".

If this still does not work and their logic even strips this away, find another character similar to it and replace with the next one.


Title: Re: If "-" is at the start of a song title, it isn't shown in JRiver when playing
Post by: EnglishTiger on June 26, 2020, 09:50:26 am
Since the Proper Title "- Human (Live)" is in the Name Field/Tag does it really matter that MC is "trimming" the Name in the Player Bar. Given that any alteration to the Tag, to get MC to display "- Human (Live)" in the payer bar could, and probably will, result in a Non-Match if you did an Internet Search using the Modified Track Name as one of the search parameters.
Title: Re: If "-" is at the start of a song title, it isn't shown in JRiver when playing
Post by: Awesome Donkey on June 26, 2020, 10:52:45 am
Odd that it's not trimming it for me.
Title: Re: If "-" is at the start of a song title, it isn't shown in JRiver when playing
Post by: Matt on June 26, 2020, 11:01:02 am
Odd that it's not trimming it for me.

Take note that you need a space after it as well.  So -Human won't trim, but - Human would.  In my library, it's called Minus Human :)
Title: Re: If "-" is at the start of a song title, it isn't shown in JRiver when playing
Post by: Awesome Donkey on June 26, 2020, 11:13:49 am
Hmmmm, there is a space (the track name for it in my library is - Human (Live)) and it's not trimming it for me. Maybe I'm just lucky.
Title: Re: If "-" is at the start of a song title, it isn't shown in JRiver when playing
Post by: Matt on June 26, 2020, 11:39:44 am
It only trims if the line starts with those characters.  So if you've got something else before, they would also be left alone.
Title: Re: If "-" is at the start of a song title, it isn't shown in JRiver when playing
Post by: MrEWhite on June 26, 2020, 12:49:48 pm
We call JRString::CleanFilledTemplate which does this:
// cut off a leading "- " if it exists (don't just trim left a minus because negative numbers aren't uncommon)

I think cleaning the filled templates is probably good because it fixes problems.

So I would say this is just the way it is.

Take note that you need a space after it as well.  So -Human won't trim, but - Human would.  In my library, it's called Minus Human :)
I bought it from Metallica's site and it came with the title "- Human (Live)," so I guess I'll just deal with it then.