Check-in [ec262d679d]
Overview
Comment: | Remove custom .catmap handling (automatically saved by GenericChannel.reload_categories which invokes update_categories). |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
ec262d679de63051f38f6f660e01b7d9 |
User & Date: | mario on 2015-03-30 18:38:19 |
Other Links: | manifest | tags |
Context
2015-03-30
| ||
19:41 | Fix regex mapping mode, switch config option to descriptors, add "asis" to avoid mapping, "root" for unmapped storage, and use "group" for genre rewrite. check-in: 8cd5bb3da2 user: mario tags: trunk | |
18:38 | Remove custom .catmap handling (automatically saved by GenericChannel.reload_categories which invokes update_categories). check-in: ec262d679d user: mario tags: trunk | |
17:42 | Use absolute path (conf.share) for plugin lookup with pkgutil. check-in: 665f4b36ad user: mario tags: trunk | |
Changes
Modified channels/modarchive.py from [6105d250d0] to [d62c0ac39b].
︙ | |||
27 28 29 30 31 32 33 | 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | - - - - - - - - - - - - | from config import conf from channels import * from config import __print__, dbg |
︙ | |||
78 79 80 81 82 83 84 | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | - - + + - - - - + - - - - - - - - - - - - - - | if sub: self.categories.append(sub) sub = [] self.categories.append(main) else: sub.append(subname) self.catmap[subname] = id |
︙ |
Modified channels/shoutcast.py from [1749bea8b8] to [d4f5d3a425].
︙ | |||
82 83 84 85 86 87 88 | 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | - - + + + + | self.catmap[title] = int(id) if not int(main): self.categories.append(title) current = [] self.categories.append(current) else: current.append(title) |
︙ | |||
123 124 125 126 127 128 129 | 125 126 127 128 129 130 131 | - - - - - - - - - - - | "homepage": "", "format": "audio/mpeg" }) #__print__(dbg.DATA, entries) return entries |