Skip to content

Commit b6b566d

Browse files
committed
dietpi-software: Mopidy: reduce lines and satisfy CI
1 parent 46f631b commit b6b566d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

dietpi/dietpi-software

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5114,15 +5114,13 @@ _EOF_
51145114
(( $G_DISTRO == 8 )) && ! grep -q '_get_structure_name' /lib/python3/dist-packages/mopidy/audio/scan.py && G_EXEC patch -d/ -p0 << '_EOF_'
51155115
--- /lib/python3/dist-packages/mopidy/audio/scan.py
51165116
+++ /lib/python3/dist-packages/mopidy/audio/scan.py
5117-
@@ -185,6 +185,11 @@
5117+
@@ -185,6 +185,9 @@
51185118
return query.parse_seeking()[1]
51195119

5120-
51215120
+def _get_structure_name(struct: Gst.Structure) -> str:
51225121
+ with struct as _struct:
51235122
+ return _struct.get_name()
5124-
+
5125-
+
5123+
51265124
def _process(pipeline, timeout_ms):
51275125
bus = pipeline.get_bus()
51285126
tags = {}

0 commit comments

Comments
 (0)