Check-in [fbfe51ec5f]
Overview
Comment: | Fix `module = __name__` setting. (The .module attribute is still not avoidable, used too widely in GenericChannel etc.) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
fbfe51ec5f4edbf74b2e2e306162a332 |
User & Date: | mario on 2016-12-10 17:55:31 |
Other Links: | manifest | tags |
Context
2016-12-10
| ||
22:13 | New plugin: cache reset (temp m3u/pls files, favicons, and channel.json files) check-in: c669dbae79 user: mario tags: trunk | |
17:55 | Fix `module = __name__` setting. (The .module attribute is still not avoidable, used too widely in GenericChannel etc.) check-in: fbfe51ec5f user: mario tags: trunk | |
17:54 | Undo statusbar clearing for .play() action; introduce markup support for status() messages. check-in: 56b89d2861 user: mario tags: trunk | |
Changes
Modified channels/useragentswitcher.py from [681f56976f] to [bebd1e46c5].
︙ | ︙ | |||
20 21 22 23 24 25 26 | from channels import * import ahttp # override ahttp.session headers, hooks into config dialog class useragentswitcher(): | | | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | from channels import * import ahttp # override ahttp.session headers, hooks into config dialog class useragentswitcher(): module = __name__ meta = plugin_meta() map = { "default": "streamtuner2/2.1 (X11; Linux amd64; rv:33.0) like WinAmp/2.1", "vlc": "vlc 1.1.0-git-20100330-0003", "firefox": "Mozilla/5.0 (Windows NT 6.3; rv:36.0) Gecko/20100101 Firefox/36.0", "chrome": "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36", "android": "Mozilla/5.0 (Linux; U; Android 4.2; en-us; Nexus 10 Build/JVP15I) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Safari/534.30", |
︙ | ︙ |