You are not logged in.

#1 2008-03-05 00:44:41

gav616
Member
Registered: 2008-01-16
Posts: 182

[SOLVED] xterm title while streaming with MPlayer

I use MPlayer to stream internet radio through xterm(aterm) is there a cmd or bash to update and display current track in the xterm title bar?

Thank you.

Last edited by gav616 (2008-07-30 23:40:33)

Offline

#2 2008-03-05 19:57:13

gav616
Member
Registered: 2008-01-16
Posts: 182

Re: [SOLVED] xterm title while streaming with MPlayer

bumpy bump bump

Offline

#3 2008-03-07 02:59:18

gav616
Member
Registered: 2008-01-16
Posts: 182

Re: [SOLVED] xterm title while streaming with MPlayer

if its impossible id rather someone tell me so i can stop bumping this thread.

ty.

Offline

#4 2008-03-07 14:25:45

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: [SOLVED] xterm title while streaming with MPlayer

its possible noone knows. stop bumping this for no reason. use the time you spend bumping more appropriately. try the mplayer help mailing lists/irc etc. if you find out post the solution post it here.


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#5 2008-07-30 23:37:42

gav616
Member
Registered: 2008-01-16
Posts: 182

Re: [SOLVED] xterm title while streaming with MPlayer

btw i got this working:

create file and add this;

#!/bin/sh
mplayer http://Station echo "ICY Info: StreamTitle='Artist - Song Title';StreamUrl='';" | sed "s/StreamTitle='\([^']*\)/\0\x1B]0;\1\a/" ;sleep 1

were http://Station is your internet url,
then run with x/aterm thus: "aterm -e sh script"

Last edited by gav616 (2008-07-30 23:39:54)

Offline

Board footer

Powered by FluxBB