Running it on Manjaro Linux with the Flatpak Spotify.
Full Output of script:
_ _ ___ _ _
/_\ __| | / __| _ __ ___ | |_ | |_ ___ _ _
/ _ \ / _` | \__ \ | '_ \ / _ \ | _| | _| / -_) | '_|
/_/ \_\ \__,_| |___/ | .__/ \___/ \__| \__| \___| |_|
|_|v0.0.1
[STATUS]: waiting for ads...
[STATUS]: Detected Ad
kill: sending signal to 568 failed: Operation not permitted
[STATUS]: Blocking Ad
Traceback (most recent call last):
File "/home/krishnan/Downloads/spotify-adblock-linux/adspotter", line 66, in main
player.Next()
File "/home/krishnan/.local/lib/python3.10/site-packages/mpris2/decorator/method.py", line 54, in _call_dbus
result = bus_meth(*args, **kwds)
File "/home/krishnan/.local/lib/python3.10/site-packages/dbus/proxies.py", line 141, in __call__
return self._connection.call_blocking(self._named_service,
File "/home/krishnan/.local/lib/python3.10/site-packages/dbus/connection.py", line 634, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.174 was not provided by any .service files
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/krishnan/.local/lib/python3.10/site-packages/dbus/bus.py", line 173, in activate_name_owner
return self.get_name_owner(bus_name)
File "/home/krishnan/.local/lib/python3.10/site-packages/dbus/bus.py", line 348, in get_name_owner
return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
File "/home/krishnan/.local/lib/python3.10/site-packages/dbus/connection.py", line 634, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.mpris.MediaPlayer2.spotify': no such name
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/krishnan/Downloads/spotify-adblock-linux/adspotter", line 75, in <module>
main()
File "/home/krishnan/Downloads/spotify-adblock-linux/adspotter", line 70, in main
player = mpris2.Player(dbus_interface_info={'dbus_uri': uri})
File "/home/krishnan/.local/lib/python3.10/site-packages/mpris2/decorator/interface.py", line 66, in dbusWrapedInterface
info_property = _DbusInfoProperty(
File "/home/krishnan/.local/lib/python3.10/site-packages/mpris2/decorator/interface.py", line 26, in __init__
self.object = bus.get_object(self.uri, self.path)
File "/home/krishnan/.local/lib/python3.10/site-packages/dbus/bus.py", line 237, in get_object
return self.ProxyObjectClass(self, bus_name, object_path,
File "/home/krishnan/.local/lib/python3.10/site-packages/dbus/proxies.py", line 250, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/home/krishnan/.local/lib/python3.10/site-packages/dbus/bus.py", line 178, in activate_name_owner
self.start_service_by_name(bus_name)
File "/home/krishnan/.local/lib/python3.10/site-packages/dbus/bus.py", line 273, in start_service_by_name
return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
File "/home/krishnan/.local/lib/python3.10/site-packages/dbus/connection.py", line 634, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.mpris.MediaPlayer2.spotify was not provided by any .service files
Running it on Manjaro Linux with the Flatpak Spotify.
Full Output of script:
any ideas or fixes?