Timeline
90 check-ins using file channels/dnd.py version 129abbd2da
2015-05-16
| ||
16:36 | Simplify windowsmedia regexp. Omit bitrate=32, because `filter_bitrate` makes it appear empty per default then. check-in: 19ad85d18d user: mario tags: trunk | |
01:47 | Use shorter domain names for homepage favicons again. check-in: 9931f4e0e5 user: mario tags: trunk | |
2015-05-15
| ||
22:48 | Update Dirble comments. check-in: a906512c8d user: mario tags: trunk | |
21:52 | Weighted selection of available stream urls from Dirble API. check-in: fe19fd3202 user: mario tags: trunk | |
17:58 | Add ahttp.fix_url() for dirble `website` addresses. check-in: 96d86cc203 user: mario tags: trunk | |
17:55 | `timedout` and `description` are seemingly gone from the API responses. check-in: cbd84b656f user: mario tags: trunk | |
17:49 | Add `filter_bitrate` to default pack: list. check-in: 9a5cee5ac7 user: mario tags: trunk | |
16:51 | Add 0install requests dependency. check-in: 46e06de24a user: mario tags: trunk | |
14:19 | Add 2.1.8-dev as 0install option; depend on Py 2.7 for now. check-in: c19b7669f4 user: mario tags: trunk | |
00:54 | Update 0install descriptor to use command/runner with virtual python package. check-in: ed37ec798a user: mario tags: trunk | |
00:31 | Update manual regarding new favicon plugin and its options. check-in: fb837c37db user: mario tags: trunk | |
2015-05-14
| ||
23:26 | Set dest= and main= check-in: 395901fa20 user: mario tags: trunk | |
22:43 | Try <file> instead of <archive> check-in: b84dba9f2c user: mario tags: trunk | |
20:26 | ./. check-in: c4467509e6 user: mario tags: trunk | |
20:15 | Update with signature check-in: f371159ed3 user: mario tags: trunk | |
20:02 | Add option to inhibit window title adaption ("Streamtuner2 - Channelname"), mostly just for filling up the "Display" config section again. check-in: bfc387c542 user: mario tags: trunk | |
20:01 | Add 0install pkg description wrapper for testing. check-in: 68786b48a4 user: mario tags: trunk | |
18:41 | Remove a few options from configuration dialog; now available in [feature] plugin tabs for favicon module. Favicon module exposes google_station_homepage, and retrieval methods, but no longer `conf.show_favicons` (which is decided on just by having the plugin enabled - or not.) Introduce conf.auto_save_stations for favicon/DND plugin. check-in: 8c7b4f2662 user: mario tags: trunk | |
18:39 | Default to encoding=utf-8 for jamendo API. check-in: 0a7528326f user: mario tags: trunk | |
18:39 | Add feature plugin icon. check-in: 1c2efe11f1 user: mario tags: trunk | |
00:05 | Resize logo together with toolbar buttons. check-in: edc282b52b user: mario tags: trunk | |
2015-05-13
| ||
19:00 | Make favicon redisplay work after google_find_homepage() and existing icons in cache. Shorter timeout/display for status label for google search. check-in: 56776a4e90 user: mario tags: trunk | |
00:00 | Move mime_fmt() into regular function. Fix live365 ahttp feedback= bug. Regroup functions and update a few comments in channels/__init__ check-in: 2335ea7a46 user: mario tags: trunk | |
2015-05-12
| ||
22:18 | Add default filters only once in GenericChannel.__init__ Allow preprocess_filter callbacks access to current channel object. (Used by filter_bitrate to recognize .audioformat if row[format] is absent.) check-in: ae2f48310a user: mario tags: trunk | |
22:17 | Add plugin defaults (for newly added options, but previously active modules) in any case when starting with -D flag. Save settings.json in json.dumps(sort_keys=True) mode. check-in: 3497339549 user: mario tags: trunk | |
20:05 | Add generic bitrate filter plugin, move functionality out of xiph channel. check-in: 7ef8a2b827 user: mario tags: trunk | |
20:03 | Remove plugin #color: check-in: b4558a4599 user: mario tags: trunk | |
20:03 | Use GenericChannel.prepare_filters hook to update "favicon" filenames in rows. Precompile row_to_fn regexps. Fix google_find_homepage params (just a function, not a method). check-in: 8c0b288e66 user: mario tags: trunk | |
20:01 | Split up post-proccessing filters (run after load/update_streams), use filter callback list now. Separate prepare display filters as well (so to hook dedicated favicon callback into). Move conf.show_favicons option into uikit.columns() signature. check-in: 475f736d5d user: mario tags: trunk | |
2015-05-11
| ||
20:29 | Break out _on_reload thread callback. check-in: 306eba6f98 user: mario tags: trunk | |
20:29 | Remove _ prefix from ls, rowmap, pix_entry, as features/search was already depending on literal rowmap. check-in: 6d1bd944fb user: mario tags: trunk | |
12:21 | Change pluginconf lookups. Use only pkg basenames for configuration, but override channels.__path__ directly in module. Thus pluginconf can convert `plugin_base` into path list for module_list() scanning. check-in: 494088b7d1 user: mario tags: trunk | |
11:18 | Switch dirble plugin to predeclare encoding="utf-8" for speed. check-in: 05806261b3 user: mario tags: trunk | |
11:17 | Disable iTunes plugin, no alternative resource. check-in: 901ee2c6b2 user: mario tags: trunk | |
2015-05-10
| ||
22:34 | Fix URL patching (after actually testing it). And provide fallback for image resizing (.thumbnail in PIL 2.3.0 is broken). check-in: 12e7646cbf user: mario tags: trunk | |
22:11 | Move internal commentary out of plugin description block. Try/Catch processing failures in update_rows() loop. Use quieter=1 option for image downloads. Reimplement custom base_url+href favicon patching. check-in: 4e95040e40 user: mario tags: trunk | |
22:08 | Add ahttp.get( quieter= ) option for less log.HTTP notices. check-in: 529222eb9b user: mario tags: trunk | |
19:45 | Work atop Python3 by using io.BytesIO rather than compat2and3 module. check-in: 7ec987b9ba user: mario tags: trunk | |
19:20 | Move `favicon` module into extension/feature plugin. Simplify row["favicon"] cache filename pregeneration; separate from favicon module (but basically duplicated code there). Refactor most internal favicon+banner processing, rename methods for clarity. Plugin registers itself as .hooks["play"] callback. Uses main.thread() now instead of custom variant. Create icon cache dir on initialiation rather. Use combined row_to_fn() for cache filename generation instead of domain(), url(), file(), etc. Previous banner downloads are ignored, because the filename normalization is more in line with domain favicons now. Only update pixstore on successful downloads. Pre-check the content type per binary regex now, before saving image files. Combine resizing into store_image() function as well. Even PNG files will be piped through PIL (for sanitization). Completely got rid of urllib usage. Homepage/HTML extraction got rewritten, simpler, still inexact; but works now for most webpages. Favicon homepage downloading checks both returned MIME type and actual file content prior saving. Shorten timeouts to 2-3 seconds for Google and custom favicon retrieval. check-in: bd1a9cba05 user: mario tags: trunk | |
19:12 | Create stub plugins/__init__.py in any case. check-in: a6b4b00c41 user: mario tags: trunk | |
19:12 | Make AHTTP timeout= configurable. check-in: 4b035870ec user: mario tags: trunk | |
2015-05-09
| ||
21:41 | Fix super slow requests download for Xiph YP.XML, due to automatic charset detected in requests.text access. Override encoding= now and manually .decode() known "utf-8" charset. check-in: 06fe0ef3db user: mario tags: trunk | |
21:40 | Implement favicon live updating. Play event and download_all now pass the treestore, with row index, and pix_entry number (column index in liststore). Favicon module checks for downloaded images twice now, and updates PixBuf in ListStore. (Works for both single station view, and download_all.) check-in: aac4fcacbf user: mario tags: trunk | |
21:38 | Prepare for more complex hooks["play"] invocation (ignore args, kwargs). check-in: 5fbe0ccd0c user: mario tags: trunk | |
21:37 | Use custom GenericChannel.columns() wrapper to simplify passing TreeView widget and keeping returned liststore/rowmap/pix_entry. check-in: 5d8d7fd191 user: mario tags: trunk | |
21:36 | Minor typo fixes. check-in: d1befc2a99 user: mario tags: trunk | |
21:36 | Return ListStore, rowmap and pix_entry from uikit.columns() check-in: 8b187d699a user: mario tags: trunk | |
2015-05-08
| ||
11:05 | Crash in search module again. Seemingly fixed it for threaded mode by preupdating the bookmarks.streams{search} result store before switching tabs. check-in: e6dd4c5376 user: mario tags: trunk | |
09:50 | Fix srver url extraction prior sending to myoggradio API. check-in: 46648a2d42 user: mario tags: trunk | |
2015-05-07
| ||
19:21 | Lock WindowsMediaGuide plugin against >2.1.8 check-in: 55b6ad457a user: mario tags: trunk | |
19:21 | Step-tutorial for bookmarking a station. check-in: c159673973 user: mario tags: trunk | |
17:12 | Explain in detail how to enable pluginmanager2 extension. check-in: b0ca9793cb user: mario tags: trunk | |
17:11 | Additional project+help links for manual. check-in: 76cf990460 user: mario tags: trunk | |
17:10 | Make static category lists more readable. check-in: f94731a05b user: mario tags: trunk | |
17:09 | Remove unsupported view-source: URL prefix, rewrite links from /cat/ to /doc/tip/ for downloading/plain view instead of text/html browsing. check-in: 8e4f191706 user: mario tags: trunk | |
01:22 | Fix UTF-8 text decoding for CSV after downloading as binary. check-in: 27b9174109 user: mario tags: trunk | |
01:20 | Add description: line. check-in: 749946913c user: mario tags: trunk | |
01:17 | Add windows media guide radio lists (ASX). Fixed action module to extract with case-insensitve matches for that playlist format. (It's not really XML after all.) check-in: 7c085d54f9 user: mario tags: trunk | |
01:16 | Another radio station directory: listenlive.eu check-in: b0e9e031d9 user: mario tags: trunk | |
01:15 | Compressed GLRP csv playlist. check-in: 48e681e054 user: mario tags: trunk | |
2015-05-06
| ||
21:05 | Add preliminary Magnatune contrib plugin. (Radio playlists are currently broken. Only small album list is fetched.) check-in: f0fcfbd3ba user: mario tags: trunk | |
19:35 | Add yelp <note> icons. check-in: 761b87fed4 user: mario tags: trunk | |
19:34 | Update config option references for channel pages. check-in: 2b2993e6e1 user: mario tags: trunk | |
17:36 | Converted help images to more grayscale/indexed variants to reduce filesize. check-in: 178fe1e006 user: mario tags: trunk | |
17:06 | Use fallback title= for mkrow() importing. check-in: fbb2beedd7 user: mario tags: trunk | |
17:06 | Fix urlencode references to urllib.quote. check-in: 334e951b04 user: mario tags: trunk | |
17:05 | Add favicon and description. check-in: f2dbd33512 user: mario tags: trunk | |
04:27 | Fix JSON serialization. check-in: b2d517502d user: mario tags: trunk | |
04:02 | Add trivial di.fm/sky.fm radio list fetcher. check-in: 644d1b3532 user: mario tags: trunk | |
00:22 | Enable glrp.csv download from repo. check-in: f42cec687d user: mario tags: trunk | |
00:21 | Remove default ["empty",] category. check-in: d958ddb71e user: mario tags: trunk | |
00:08 | Release as 2.1.8 check-in: b0a6a50a20 user: mario tags: trunk, 2.1.8 | |
00:07 | Fix some print and log statements. check-in: d0a9fca2bd user: mario tags: trunk | |
00:07 | Use Gtk3/gdk.Color.parse() as fallback to .get_colormap(), get rid of style copying (was only necessary with the previous theming support IIRC). check-in: ae1d856e69 user: mario tags: trunk | |
00:05 | Inline copy&paste HTML entity definitions, because they seemingly were also sacrificed at the Python 3 altar. check-in: 6cb923861a user: mario tags: trunk | |
2015-05-05
| ||
20:08 | Fix region_id default to enable v3 mostPopular query (YT stumbled over "UK"). check-in: 5a0c618e03 user: mario tags: trunk | |
19:47 | Filter `None` from extracted URLs. Fix save_playlist.export; copy.copy each row before overwriting/filling url. Implement specific `jamj` extractor (regex stumbled over playlist title). check-in: c9509eb384 user: mario tags: trunk | |
17:25 | Add .save() after reading in CSV list. check-in: 930e5fd7a5 user: mario tags: trunk | |
17:22 | Add playlist importer channel for GLRP. check-in: 44f08cdd69 user: mario tags: trunk | |
14:52 | Updated channel documentation with links. check-in: 333e0400bc user: mario tags: trunk | |
14:27 | Moved `file` and `punkcast` into contrib/ group. check-in: d91ab221b3 user: mario tags: trunk | |
14:12 | ./. check-in: a80fa6becf user: mario tags: trunk | |
14:11 | Add -B and -3 options to `make run` check-in: e8c3b8b495 user: mario tags: trunk | |
14:11 | Add icon for file browser. check-in: 5f1b889ce6 user: mario tags: trunk | |
11:24 | Fix some typos. check-in: 8f1be0548d user: mario tags: trunk | |
10:58 | Add omitted HTML pages. (*.html is in the fossil `ignore-glob`, so they get skipped for github-skin statistics bar.) check-in: 8a854e0f4c user: mario tags: trunk | |
10:56 | Update documentation and notes for new channel/feature plugins. check-in: 222113231f user: mario tags: trunk | |
10:45 | Readd plugin_base paths in addition to module basenames, otherwise pluginconf.get_data won't find plugins/* either in the module_list() or per get_data() - one uses paths, the other pkg names. check-in: 68107d7f9a user: mario tags: trunk | |
10:44 | Simplify core plugin dependency lookups. check-in: 120249ab54 user: mario tags: trunk | |
10:43 | Support direct URLs in DND import (only used as literal url=, brings up streamedit window afterwards). check-in: 5fe8de1fd7 user: mario tags: trunk | |