chrippa/livestreamer — pull request #225 by john-peterson (2013-11-17 13:56:19+00:00)
Title: Adding FilmOn Social TV channel support

## Adding FilmOn Social TV channel support

### Problem

This command

livestreamer filmon.us/alkidavid

return

error: No plugin can handle URL: filmon.us/alkidavid

### Solution

Adding support for http://www.filmon.us/channels

### Exception

#### Non-existing channel name

The URL http://filmon.us/no_channel return the same page as http://filmon.us/alkidavid rather than a 404

This command

livestreamer filmon.us/no_channel

return

error: No streams found on this URL: filmon.us/no_channel

by reading the channel name in this meta property

because

* it's less confusing for the user that a non-existing channel return an error rather than the default channel "alkidavid"

### Packet identification

The values

RTMP_URL = "rtmp://204.107.26.73/battlecam"
SWF_URL = "http://www.filmon.us/application/themes/base/flash/broadcast/VideoChatECCDN_debug_withoutCenteredOwner.swf"

are in this packet

3167	6.144329000	192.168.5.130	204.107.26.73	RTMP	2009	Handshake C2 | connect('battlecam/')

identified with the Wireshark display filter

tcp.port == 1935