Philipp Hörist pushed to branch nbxmpp_2.0 at gajim / python-nbxmpp
Commits:
0fe3b7dd by lovetox at 2020-12-29T22:20:52+01:00
Tune: Bail out if there is no artist or title
- - - - -
1 changed file:
- nbxmpp/modules/tune.py
Changes:
=====================================
nbxmpp/modules/tune.py
=====================================
@@ -64,6 +64,11 @@ class Tune(BaseModule):
tune_dict[attr] = tune_node.getTagData(attr)
data = TuneData(**tune_dict)
+ if data.artist is None and data.title is None:
+ self._log.warning('Missing artist or title: %s %s',
+ data, properties.jid)
+ return
+
pubsub_event = properties.pubsub_event._replace(data=data)
self._log.info('Received tune: %s - %s', properties.jid, data)
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/0fe3b7dd7f23d9440fa924be…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/0fe3b7dd7f23d9440fa924be…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch nbxmpp_2.0 at gajim / python-nbxmpp
Commits:
bd0b2cd3 by lovetox at 2020-12-29T22:20:11+01:00
Update __init__.py
- - - - -
1 changed file:
- nbxmpp/__init__.py
Changes:
=====================================
nbxmpp/__init__.py
=====================================
@@ -4,4 +4,4 @@ from .protocol import *
gi.require_version('Soup', '2.4')
-__version__ = "1.99.0"
+__version__ = "2.0.0"
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/bd0b2cd32030e23b6902dada…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/bd0b2cd32030e23b6902dada…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
5b7540c6 by lovetox at 2020-12-29T22:19:39+01:00
Update __init__.py
- - - - -
1 changed file:
- nbxmpp/__init__.py
Changes:
=====================================
nbxmpp/__init__.py
=====================================
@@ -4,4 +4,4 @@ from .protocol import *
gi.require_version('Soup', '2.4')
-__version__ = "1.99.0"
+__version__ = "3.0.0-dev1"
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/5b7540c6bcefc3bdc9fb6c0f…
--
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/5b7540c6bcefc3bdc9fb6c0f…
You're receiving this email because of your account on dev.gajim.org.