File: metadata

package info (click to toggle)
mpv-mpris 1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 176 kB
  • sloc: ansic: 1,063; sh: 184; makefile: 79
file content (12 lines) | stat: -rwxr-xr-x 194 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

. ./setup

test "$(playerctl metadata xesam:url)" = "file://$file"

# Wait for mpv to parse the title from the file
sleep 2

test "$(playerctl metadata xesam:title)" != ""

wait %1