user agent block
user agent block
Is there a definitive way to block Windows Media Player, Real Player and Quicktime from getting any access to the mp3toolbox radio stream.
I have used RAM and NSPlayer in the $agent_block, it has stopped them playing the stream, but they still attempt to and it throws the script into disarray - the debug goes wild and won't stop sending the stream over and over again.
All three I find are dreadful things and although I will from now on encourage any listeners not to use them someone might try and be clever - and now it seems there could be dire concquences.
The reason I ask is this:
Http Code: 200 Date: Apr 07 03:50:11 Http Version:HTTP/1.1 Size in Bytes: 536988900
Referer: - Agent: NSPlayer/9.0.0.3250
Just 2 hours listening with Windows Media Player 536mb! Winamp by comparsion was only 53mb (correctly).
I've got a good bandwidth package, but never that good!
I have used RAM and NSPlayer in the $agent_block, it has stopped them playing the stream, but they still attempt to and it throws the script into disarray - the debug goes wild and won't stop sending the stream over and over again.
All three I find are dreadful things and although I will from now on encourage any listeners not to use them someone might try and be clever - and now it seems there could be dire concquences.
The reason I ask is this:
Http Code: 200 Date: Apr 07 03:50:11 Http Version:HTTP/1.1 Size in Bytes: 536988900
Referer: - Agent: NSPlayer/9.0.0.3250
Just 2 hours listening with Windows Media Player 536mb! Winamp by comparsion was only 53mb (correctly).
I've got a good bandwidth package, but never that good!
Oh absolutely certain. It came right off my bandwidth useage for the day.
Looking at the debug report it's absurd the way the thing does it, look at this - sorry about how long it is, blame Windows Media Player not me:
<04/08/2005 16:02:19> [mode: radio] [dest: 127.0.0.1] [user: ] Stream Started by 127.0.0.1
<04/08/2005 16:02:19> [mode: radio] [dest: 127.0.0.1] [user: ] STATUS: HEADER SENT
<04/08/2005 16:02:19> [mode: radio] [dest: 127.0.0.1] [user: ] MODE: Playlist Script Enabled
<04/08/2005 16:02:19> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/nights] (optional shuffle)
<04/08/2005 16:02:19> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /test_1.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 822
<04/08/2005 16:02:19> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/nights/test_1.mp3
<04/08/2005 16:02:20> [mode: radio] [dest: 127.0.0.1] [user: ] CONNECT-KILL: (1) Connection has been terminated by the client {1secs}
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] Stream Started by 127.0.0.1
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] STATUS: HEADER SENT
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] MODE: Playlist Script Enabled
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/nights] (optional shuffle)
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /test_1.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 822
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/nights/test_1.mp3
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] CONNECT-KILL: (1) Connection has been terminated by the client {0secs}
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] Stream Started by 127.0.0.1
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] STATUS: HEADER SENT
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] MODE: Playlist Script Enabled
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/nights] (optional shuffle)
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /test_1.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 822
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/nights/test_1.mp3
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] CONNECT-KILL: (1) Connection has been terminated by the client {0secs}
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] Stream Started by 127.0.0.1
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] STATUS: HEADER SENT
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] MODE: Playlist Script Enabled
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/nights] (optional shuffle)
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /test_1.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 822
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/nights/test_1.mp3
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] FUSEPOINT END 170
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/promos] (optional shuffle)
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /promo_1.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 61
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/promos/promo_1.mp3
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] FUSEPOINT END 8192
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] CONNECT-KILL: (1) Connection has been terminated by the client {1secs}
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] Stream Started by 127.0.0.1
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] STATUS: HEADER SENT
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] MODE: Playlist Script Enabled
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/nights] (optional shuffle)
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /test_1.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 822
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/nights/test_1.mp3
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] CONNECT-KILL: (1) Connection has been terminated by the client {0secs}
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] Stream Started by 127.0.0.1
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] STATUS: HEADER SENT
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] MODE: Playlist Script Enabled
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/nights] (optional shuffle)
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /test_1.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 822
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/nights/test_1.mp3
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] CONNECT-KILL: (1) Connection has been terminated by the client {0secs}
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] Stream Started by 127.0.0.1
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] STATUS: HEADER SENT
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] MODE: Playlist Script Enabled
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/nights] (optional shuffle)
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /test_1.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 822
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/nights/test_1.mp3
<04/08/2005 16:02:32> [mode: radio] [dest: 127.0.0.1] [user: ] FUSEPOINT END 5787
<04/08/2005 16:02:32> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/promos] (optional shuffle)
<04/08/2005 16:02:32> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /promo_1.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 61
<04/08/2005 16:02:32> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/promos/promo_1.mp3
<04/08/2005 16:02:32> [mode: radio] [dest: 127.0.0.1] [user: ] FUSEPOINT END 8192
<04/08/2005 16:02:39> [mode: radio] [dest: 127.0.0.1] [user: ] FUSEPOINT END 0
<04/08/2005 16:02:39> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/breaks] (optional shuffle)
<04/08/2005 16:02:39> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /promo_2.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 59
<04/08/2005 16:02:39> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/breaks/promo_2.mp3
<04/08/2005 16:02:39> [mode: radio] [dest: 127.0.0.1] [user: ] FUSEPOINT END 8192
<04/08/2005 16:03:00> [mode: radio] [dest: 127.0.0.1] [user: ] CONNECT-KILL: (1) Connection has been terminated by the client {37secs}
Absurd and just for 37seconds of listening!
In addition I found it dumps it all in the users Temporary Internet Folder, where it remains hidden where it does cause problems see here as you can imagine they aren't bothered about fixing it.
It's a pity there's not a way of keeping them away completely, better for all if there was.
Looking at the debug report it's absurd the way the thing does it, look at this - sorry about how long it is, blame Windows Media Player not me:
<04/08/2005 16:02:19> [mode: radio] [dest: 127.0.0.1] [user: ] Stream Started by 127.0.0.1
<04/08/2005 16:02:19> [mode: radio] [dest: 127.0.0.1] [user: ] STATUS: HEADER SENT
<04/08/2005 16:02:19> [mode: radio] [dest: 127.0.0.1] [user: ] MODE: Playlist Script Enabled
<04/08/2005 16:02:19> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/nights] (optional shuffle)
<04/08/2005 16:02:19> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /test_1.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 822
<04/08/2005 16:02:19> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/nights/test_1.mp3
<04/08/2005 16:02:20> [mode: radio] [dest: 127.0.0.1] [user: ] CONNECT-KILL: (1) Connection has been terminated by the client {1secs}
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] Stream Started by 127.0.0.1
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] STATUS: HEADER SENT
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] MODE: Playlist Script Enabled
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/nights] (optional shuffle)
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /test_1.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 822
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/nights/test_1.mp3
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] CONNECT-KILL: (1) Connection has been terminated by the client {0secs}
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] Stream Started by 127.0.0.1
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] STATUS: HEADER SENT
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] MODE: Playlist Script Enabled
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/nights] (optional shuffle)
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /test_1.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 822
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/nights/test_1.mp3
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] CONNECT-KILL: (1) Connection has been terminated by the client {0secs}
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] Stream Started by 127.0.0.1
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] STATUS: HEADER SENT
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] MODE: Playlist Script Enabled
<04/08/2005 16:02:21> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/nights] (optional shuffle)
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /test_1.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 822
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/nights/test_1.mp3
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] FUSEPOINT END 170
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/promos] (optional shuffle)
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /promo_1.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 61
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/promos/promo_1.mp3
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] FUSEPOINT END 8192
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] CONNECT-KILL: (1) Connection has been terminated by the client {1secs}
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] Stream Started by 127.0.0.1
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] STATUS: HEADER SENT
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] MODE: Playlist Script Enabled
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/nights] (optional shuffle)
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /test_1.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 822
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/nights/test_1.mp3
<04/08/2005 16:02:22> [mode: radio] [dest: 127.0.0.1] [user: ] CONNECT-KILL: (1) Connection has been terminated by the client {0secs}
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] Stream Started by 127.0.0.1
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] STATUS: HEADER SENT
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] MODE: Playlist Script Enabled
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/nights] (optional shuffle)
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /test_1.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 822
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/nights/test_1.mp3
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] CONNECT-KILL: (1) Connection has been terminated by the client {0secs}
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] Stream Started by 127.0.0.1
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] STATUS: HEADER SENT
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] MODE: Playlist Script Enabled
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/nights] (optional shuffle)
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /test_1.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 822
<04/08/2005 16:02:23> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/nights/test_1.mp3
<04/08/2005 16:02:32> [mode: radio] [dest: 127.0.0.1] [user: ] FUSEPOINT END 5787
<04/08/2005 16:02:32> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/promos] (optional shuffle)
<04/08/2005 16:02:32> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /promo_1.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 61
<04/08/2005 16:02:32> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/promos/promo_1.mp3
<04/08/2005 16:02:32> [mode: radio] [dest: 127.0.0.1] [user: ] FUSEPOINT END 8192
<04/08/2005 16:02:39> [mode: radio] [dest: 127.0.0.1] [user: ] FUSEPOINT END 0
<04/08/2005 16:02:39> [mode: radio] [dest: 127.0.0.1] [user: ] NEW-LIST: Creating new list [../library/breaks] (optional shuffle)
<04/08/2005 16:02:39> [mode: radio] [dest: 127.0.0.1] [user: ] LOADING_FILE: /promo_2.mp3 - br: 56 - fq: 44100 - md: Joint Stereo - lg: 59
<04/08/2005 16:02:39> [mode: radio] [dest: 127.0.0.1] [user: ] FOPEN: ../library/breaks/promo_2.mp3
<04/08/2005 16:02:39> [mode: radio] [dest: 127.0.0.1] [user: ] FUSEPOINT END 8192
<04/08/2005 16:03:00> [mode: radio] [dest: 127.0.0.1] [user: ] CONNECT-KILL: (1) Connection has been terminated by the client {37secs}
Absurd and just for 37seconds of listening!
In addition I found it dumps it all in the users Temporary Internet Folder, where it remains hidden where it does cause problems see here as you can imagine they aren't bothered about fixing it.
It's a pity there's not a way of keeping them away completely, better for all if there was.