mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
formatted comments
This commit is contained in:
parent
8f7edf2714
commit
ab8430facc
@ -25,7 +25,7 @@ gi.require_version('Gtk', '3.0')
|
|||||||
gi.require_version('Notify', '0.7')
|
gi.require_version('Notify', '0.7')
|
||||||
from gi.repository import Gtk, Gio, Gdk, GdkPixbuf, Pango, GObject, GLib, Notify
|
from gi.repository import Gtk, Gio, Gdk, GdkPixbuf, Pango, GObject, GLib, Notify
|
||||||
from mpd import MPDClient
|
from mpd import MPDClient
|
||||||
import requests #dev-python/requests
|
import requests
|
||||||
from bs4 import BeautifulSoup, Comment
|
from bs4 import BeautifulSoup, Comment
|
||||||
import threading
|
import threading
|
||||||
import locale
|
import locale
|
||||||
@ -267,7 +267,7 @@ class Client(MPDClient):
|
|||||||
self.moveid(status["songid"], 0)
|
self.moveid(status["songid"], 0)
|
||||||
current_song_file=self.playlistinfo()[0]["file"]
|
current_song_file=self.playlistinfo()[0]["file"]
|
||||||
try:
|
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:
|
except:
|
||||||
pass
|
pass
|
||||||
for f in files:
|
for f in files:
|
||||||
@ -950,8 +950,6 @@ class SongPopover(Gtk.Popover):
|
|||||||
else:
|
else:
|
||||||
self.store.append([tag+":", value, tooltip])
|
self.store.append([tag+":", value, tooltip])
|
||||||
frame.show_all()
|
frame.show_all()
|
||||||
# self.popup()
|
|
||||||
# self.treeview.queue_resize()
|
|
||||||
|
|
||||||
class SongsView(Gtk.TreeView):
|
class SongsView(Gtk.TreeView):
|
||||||
def __init__(self, client, store, file_column_id):
|
def __init__(self, client, store, file_column_id):
|
||||||
|
Loading…
Reference in New Issue
Block a user