formatted comments

This commit is contained in:
Martin Wagner 2020-07-04 12:35:39 +02:00
parent 8f7edf2714
commit ab8430facc

View File

@ -25,7 +25,7 @@ gi.require_version('Gtk', '3.0')
gi.require_version('Notify', '0.7')
from gi.repository import Gtk, Gio, Gdk, GdkPixbuf, Pango, GObject, GLib, Notify
from mpd import MPDClient
import requests #dev-python/requests
import requests
from bs4 import BeautifulSoup, Comment
import threading
import locale
@ -267,7 +267,7 @@ class Client(MPDClient):
self.moveid(status["songid"], 0)
current_song_file=self.playlistinfo()[0]["file"]
try:
self.delete((1,)) # delete all songs, but the first. #bad song index possible
self.delete((1,)) # delete all songs, but the first. bad song index possible
except:
pass
for f in files:
@ -950,8 +950,6 @@ class SongPopover(Gtk.Popover):
else:
self.store.append([tag+":", value, tooltip])
frame.show_all()
# self.popup()
# self.treeview.queue_resize()
class SongsView(Gtk.TreeView):
def __init__(self, client, store, file_column_id):