Compare commits
2 Commits
a1fed2cd71
...
677d09524e
| Author | SHA1 | Date | |
|---|---|---|---|
| 677d09524e | |||
| 5c918109d5 |
+7
-1
@@ -7,7 +7,13 @@ import numpy as np
|
||||
from mutagen.mp3 import MP3
|
||||
from mutagen.easyid3 import EasyID3
|
||||
|
||||
from font_manager import safe_title
|
||||
|
||||
def safe_title(title):
|
||||
# Deliberately not font_manager.safe_title: that module imports PyQt5 at load
|
||||
# time, and master_core is on the Qt-free web path (the `web` extra has no Qt).
|
||||
if not title:
|
||||
return title
|
||||
return title.encode('utf-8', errors='replace').decode('utf-8')
|
||||
|
||||
|
||||
def _try_mp3_tags(file_path):
|
||||
|
||||
@@ -20,6 +20,11 @@
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
/* The UA's [hidden] { display: none } loses to any class that sets display
|
||||
(e.g. .drop-overlay's flex), which left the overlay permanently covering the
|
||||
page. Make the attribute win everywhere. */
|
||||
[hidden] { display: none !important; }
|
||||
|
||||
html, body {
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
|
||||
Reference in New Issue
Block a user