IPB

Welcome Guest ( Log In | Register )

> foobar2000 General Forum Rules

This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.

See also: Hydrogenaudio Terms of Service.

Stream name, variable, [moved from Support]
l0c4lh0st
post Feb 15 2009, 01:12
Post #1





Group: Members
Posts: 8
Joined: 24-October 08
Member No.: 60941



Hi!

What is the name of the variable that contains the name of the stream when you're listening to it?

I can find the stream URL (which is in %path%), but I can't find the stream name variable.

The wiki page that lists the variables doesn't say much about it too, in fact, when I ctrl+f with "stream", I don't get any results.

Some documentation or help would be much appreciated. smile.gif
Go to the top of the page
+Quote Post
 
Start new topic
Replies
l0c4lh0st
post Feb 18 2009, 17:19
Post #2





Group: Members
Posts: 8
Joined: 24-October 08
Member No.: 60941



QUOTE (mjb2006 @ Feb 18 2009, 08:30) *
I'd really like to have access to the stream title, too.

Apparently when you play a SHOUTcast (ICY) stream which has metadata in it, %artist% and %title% are derived from the StreamTitle metadata, which normally contains the current artist and title and sometimes also the name of the station.

It looks like foobar2000 splits the StreamTitle on the first "-", so if it's in a standard "Artist - Title" format and Artist contains a hyphen, then %artist% will be the part before the hyphen and %title% will be everything after, which of course is poo.

I was hoping I could parse the data myself and split on the first " - " (spaces around the dash) via custom title formatting, but I don't see any variables where the raw StreamTitle is exposed. unsure.gif

Also I had no luck using %url% in a custom column; I had to just use %path%.

Hm, here I only get the artist and title in resp. %artist% and %title%.

I never see the the station's name pop up.

Do you have "Enable dynamic track titles (may cause problems with some proxies)" checked in Preferences - Networking?
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 31st October 2014 - 05:24