INTERACT FORUM

Please login or register.

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

Author Topic: If "-" is at the start of a song title, it isn't shown in JRiver when playing  (Read 1172 times)

MrEWhite

  • Junior Woodchuck
  • **
  • Posts: 96

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.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186

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.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7758
  • Autumn shade...

I see it just fine here.

Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

MrEWhite

  • Junior Woodchuck
  • **
  • Posts: 96

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.
Logged

MrEWhite

  • Junior Woodchuck
  • **
  • Posts: 96

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.

But I prefer it showing how I previously had it.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186

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.

Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

MrEWhite

  • Junior Woodchuck
  • **
  • Posts: 96

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.
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!

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.
Logged
Matt Ashland, JRiver Media Center

Jamil

  • Galactic Citizen
  • ****
  • Posts: 395

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:



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.


EnglishTiger

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1073

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.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7758
  • Autumn shade...

Odd that it's not trimming it for me.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!

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 :)
Logged
Matt Ashland, JRiver Media Center

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7758
  • Autumn shade...

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.
Logged
I don't work for JRiver... I help keep the forums safe from "male enhancements" and other sources of sketchy pharmaceuticals.

Windows 11 24H2 Update 64-bit + Ubuntu 24.10 Oracular Oriole 64-bit | Windows 11 24H2 Update 64-bit (Intel N305 Fanless NUC 16GB RAM/500GB M.2 NVMe SSD)
JRiver Media Center 33 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!

It only trims if the line starts with those characters.  So if you've got something else before, they would also be left alone.
Logged
Matt Ashland, JRiver Media Center

MrEWhite

  • Junior Woodchuck
  • **
  • Posts: 96

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.
Logged
Pages: [1]   Go Up