Commit 56a7c633 authored by Cédric Bellegarde's avatar Cédric Bellegarde

Add a warning about #2485

parent 9f855d6e
Pipeline #196079 passed with stage
in 3 minutes and 59 seconds
......@@ -24,6 +24,7 @@ from threading import current_thread
from pickle import dump
from signal import signal, SIGINT, SIGTERM
from urllib.parse import urlparse
from gettext import gettext as _
from lollypop.utils import init_proxy_from_gnome, emit_signal
from lollypop.application_actions import ApplicationActions
......@@ -523,7 +524,9 @@ class Application(Gtk.Application, ApplicationActions):
for uri in audio_uris:
parsed = urlparse(uri)
if parsed.scheme in ["http", "https"]:
pass
self.notify.send(
"Lollypop",
_("Lollypop does not support http streams"))
else:
to_scan_uris.append(uri)
self.scanner.update(ScanType.EXTERNAL, to_scan_uris)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment