Skip to content

Commit

Permalink
v0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gpchelkin committed Nov 20, 2017
1 parent f8b2fea commit 8df5f77
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
History
=======

0.9.0 (2017-11-20)
------------------
* return of inline mode as fast download (link is sent to telegram servers for download)
* refactor and refinement
* help updates
* add some spam captions :)

0.8.3 (2017-11-19)
------------------
* gc.collect() according to https://github.com/jiaaro/pydub/issues/89#issuecomment-75245610
Expand Down
2 changes: 1 addition & 1 deletion scdlbot/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"""Top-level package for Music Downloader Telegram Bot."""

# version as tuple for simple comparisons
VERSION = (0, 8, 3)
VERSION = (0, 9, 0)

__author__ = """George Pchelkin"""
__email__ = '[email protected]'
Expand Down
4 changes: 2 additions & 2 deletions scdlbot/scdlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ def inline_query_callback(self, bot, update):
self.log_and_botan_track("link_inline")
for url in urls:
# self.download_and_send(bot, url, self.STORE_CHAT_ID, inline_query_id=update.inline_query.id)
for direct_url in urls[url].splitlines(): #TODO fix multiple links and allow only sc/bc
logger.info(direct_url)
for direct_url in urls[url].splitlines(): #TODO fix non-mp3 and only sc/bc
logger.debug(direct_url)
results.append(InlineQueryResultAudio(id=str(uuid4()), audio_url=direct_url, title="FAST_INLINE_DOWNLOAD_DUNNO_WHAT"))
bot.answer_inline_query(inline_query_id, results)

Expand Down

0 comments on commit 8df5f77

Please sign in to comment.