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
- l0c4lh0st   Stream name, variable   Feb 15 2009, 01:12
- - l0c4lh0st   Found another topic with the same question, from 2...   Feb 15 2009, 01:15
- - Tim Schuhmacher   I don't know if this answers your question but...   Feb 17 2009, 21:40
- - Yotsuya   For what it is worth, this thread lists all the ta...   Feb 18 2009, 02:32
|- - mjb2006   I'd really like to have access to the stream t...   Feb 18 2009, 08:30
- - l0c4lh0st   QUOTE (mjb2006 @ Feb 18 2009, 08:30) I...   Feb 18 2009, 17:19
|- - mjb2006   QUOTE (l0c4lh0st @ Feb 18 2009, 09:19) Hm...   Feb 20 2009, 04:47
|- - mjb2006   QUOTE (l0c4lh0st @ Feb 18 2009, 09:19) Hm...   Feb 20 2009, 04:49
- - l0c4lh0st   Developers: Will this feature be implemented in a ...   Feb 25 2009, 22:24
|- - Yotsuya   QUOTE (l0c4lh0st @ Feb 25 2009, 16:24) Al...   Feb 26 2009, 10:24
- - Nixdagibts    Is there now any workaround to display my own cus...   Oct 22 2009, 08:05
- - Daniel15   Sorry to bump an old topic, but I was wondering if...   Apr 18 2010, 06:27
- - kode54   Actually, they only send Artist - Title. The stati...   Apr 18 2010, 06:48
- - Daniel15   Oh, I see. I wasn't aware of that. Winamp keep...   Apr 18 2010, 08:54
- - YippeeKiYay   New to foobar, but does anyone know of a component...   Aug 6 2010, 08:17
- - trout   Another request for a "station title" ti...   Mar 9 2013, 22:02
|- - Squeller   QUOTE (trout @ Mar 9 2013, 23:02) Another...   Jul 7 2013, 17:40
- - musikomaniak   Is there something new ? I'd like also to have...   May 2 2014, 15:57
- - Josh Lincoln   QUOTE (Daniel15 @ Apr 18 2010, 08:54) ......   May 27 2015, 19:13
- - zeremy   I use two ways to show the original stream's t...   May 27 2015, 20:46
- - Josh Lincoln   I'm using a plain version - I'm not sure I...   May 28 2015, 16:28
- - zeremy   foo_customdb component must be installed. You can ...   May 28 2015, 18:07
- - Josh Lincoln   Thanks, Zeremy QUOTE Step 3: Click the "In...   May 29 2015, 08:48
|- - zeremy   QUOTE (Josh Lincoln @ May 29 2015, 08:48)...   May 29 2015, 17:51
- - Josh Lincoln   Zeremy, what does the string "$crc32(...   May 31 2015, 10:06
|- - Daeron   QUOTE (Josh Lincoln @ May 31 2015, 11:06)...   May 31 2015, 10:34
|- - zeremy   QUOTE (Josh Lincoln @ May 31 2015, 10:06)...   May 31 2015, 10:51
- - Josh Lincoln   Zeremy, it doesn't seem to work - I've tri...   May 31 2015, 11:34
- - Josh Lincoln   QUOTE In my example I used a function to display %...   May 31 2015, 11:36
- - zeremy   Post a screenshot of a streams's properties as...   May 31 2015, 12:29
- - Josh Lincoln   I thought I only needed the "TITLE_DB" o...   Jun 1 2015, 11:35
|- - zeremy   RE: Stream name, variable   Jun 1 2015, 11:42
- - Jokanok   Hi Zeremy I know my favourite internet radio's...   Jun 16 2015, 20:32
|- - zeremy   QUOTE (Jokanok @ Jun 16 2015, 21:32) Hi Z...   Jun 17 2015, 17:32
- - Josh Lincoln   Jokanok, not every station sends metadata. Most do...   Jun 16 2015, 21:15
- - mjb2006   Jokanok, you didn't mention whether you enable...   Jun 16 2015, 22:57
- - Josh Lincoln   Today I elaborated on my foobar titles with functi...   Jun 17 2015, 21:29
|- - zeremy   QUOTE (Josh Lincoln @ Jun 17 2015, 21:29)...   Jun 18 2015, 07:34
- - Josh Lincoln   I've elaborated that even more now, but I...   Jun 18 2015, 21:32
- - Josh Lincoln   QUOTE (Daeron @ May 31 2015, 10:34) QUOTE...   Jun 18 2015, 21:53
- - zeremy   @Josh Lincoln Since you will be fishing titleform...   Jun 19 2015, 07:50
- - Josh Lincoln   Thanks, Zeremy. However, I guess I might do with...   Jun 20 2015, 18:37
|- - zeremy   QUOTE (Josh Lincoln @ Jun 20 2015, 18:37)...   Jun 21 2015, 07:43
- - Josh Lincoln   QUOTE (zeremy @ Jun 21 2015, 07:43) ... I...   Jun 21 2015, 22:51


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: 4th September 2015 - 07:48