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 1096 times)

MrEWhite

  • Junior Woodchuck
  • **
  • Posts: 90

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: 7442
  • When Summer comes...

I see it just fine here.

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

Windows 11 2024 Update (24H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2024 Update (24H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

MrEWhite

  • Junior Woodchuck
  • **
  • Posts: 90

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: 90

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: 90

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: 42020
  • 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

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

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
Win NUC - VENOEN 11Th NUC Mini PC Core i7 1165G7,Dual HDMI 2.0+Mini DP,Windows 11 Mini Desktop Computer,Thunderbolt 4.0,1 Lan, USB-C,Wifi,Bluetooth 5.0,32GB RAM Toshiba MQ04ABF100 ‎500Gb 5400 RPM ‎eSATA HD, Gigabyte GP-GSM2NE3512GNTD 1Tb NVMe SSD, Samsung 870 QVO 8 TB SATA 2.5 Inch SSD (MZ-77Q8T0) in Sabrent Ultra Slim USB 3.0 to 2.5-Inch SATA External Aluminium Hard Drive Enclosure (EC-UK30)

Apple 2020 Mac mini M1 Chip (8GB RAM, 512GB SSD)
Sabrent Thunderbolt 3 to Dual NVMe M.2 SSD Tool-Free Enclosure with Sabrent 2TB Rocket NVMe PCIe M.2 2280 High Performance SSD + Crucial P3 Plus 4TB M.2 PCIe

ET Skins & TrackInfo Plugins - https://englishtiger.uk/index.html

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7442
  • When Summer comes...

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

Windows 11 2024 Update (24H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2024 Update (24H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42020
  • 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: 7442
  • When Summer comes...

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 Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2024 Update (24H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2024 Update (24H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | JBL 306P MkII Studio Monitors | Audio-Technica ATH-M50x Headphones

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42020
  • 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: 90

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