Streaming song title from txt file

You have a question or need an advice about how to do something? Ask it here!
djbony
Posts: 260
Joined: 13 May 2014 08:11
Streaming song title from txt file

Post by djbony »

Hi Bernd,
is this possible?

Thank you.
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Streaming song title from txt file

Post by radio42 »

No, this is currently not possible, as ProppFRexx takes the tag data directly from the Audiofiles by default.
But you can also set it manually instead via the STREAMING_SETSONGTITLE control-command.

But if needed (please explain, why you want to do so), I might add a related macro-function, which reads the content from a given file.
djbony
Posts: 260
Joined: 13 May 2014 08:11
Re: Streaming song title from txt file

Post by djbony »

About SETSONGTITLE command I Know. I need this to post converted title name (without diacritics) to the stream server...
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Streaming song title from txt file

Post by radio42 »

Why this? All Streaming Servers support UTF-8 norwadaus. Else you could still TAG your tracks accordingly?

But as said, I might add a file read macro.
djbony
Posts: 260
Joined: 13 May 2014 08:11
Re: Streaming song title from txt file

Post by djbony »

I know, but Czech diacritics is different :(( If I play song, ex. Karel Gott - Když muž se ženou snídá... On stream server displayed: Karel Gott - Kdy? mu? se ?enou snídá and I need to see: Karel Gott - Kdyz muz se zenou snida.

If you could add a macro, it would be fine. Utility for convert I have: viewtopic.php?f=9&t=1966
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Streaming song title from txt file

Post by radio42 »

I can add that option, but as said, most modern streaming servers today support UTF-8 song titles, which support any language ;-)
An din UTF-8 that title would be displayed as Karel Gott - Když muž se ženou snídá...
djbony
Posts: 260
Joined: 13 May 2014 08:11
Re: Streaming song title from txt file

Post by djbony »

I streaming via shoutcast at beatzone.eu and radioo.cz and this has never happened to me :( That's why I'd rather avoid the diacritics.
I'm not talking about RDS :)
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Streaming song title from txt file

Post by radio42 »

I have provided a new v4.0.5.9-beta version (please use "Check for Beta-Versions..." in the help menu at the very top right).

The version offers 2 new macro functions:
1) *[FILE:{pathandfilename}]
Returns the entire content of a given file referenced by pathandfilename.
Example:
*[FILE:{C:\Temp\test.txt}]

2) *[STRING:{value}:{conv}:{p1}:{p2}]
Returns a new string which is formatted according to a given conv function.
Example 1:
*[STRING:{${trackname}}:{norm}]

Both macro-functions can be used in the Title format settings in the streaming settings.
djbony
Posts: 260
Joined: 13 May 2014 08:11
Re: Streaming song title from txt file

Post by djbony »

Super. I just can not find it. The scroll menu does not offer anything. Can you advise me on the exact course please?
User avatar
radio42
Site Admin
Posts: 8295
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: Streaming song title from txt file

Post by radio42 »

I am not sure what you mean?! What scroll-menu are you talking about - if it is the list of predefined format examples, you find it, as these are only most commonly used examples. You can still type whatever valid song title format as you like into the box!
Please take a look to the appendix of the user menu or use the exact sample as provided above.
I am not sure what else should be missing...

Post Reply