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
Yotsuya
post Feb 18 2009, 02:32
Post #2





Group: Members
Posts: 1535
Joined: 8-May 06
Member No.: 30546



For what it is worth, this thread lists all the tag information I could find for online streams in foobar. If you have more information please add it.


--------------------
http://www.ubuntu.com
Go to the top of the page
+Quote Post
mjb2006
post Feb 18 2009, 08:30
Post #3





Group: Members
Posts: 706
Joined: 12-May 06
From: Colorado, USA
Member No.: 30694



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%.
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: 18th April 2014 - 16:52