mirror of
http://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-11-22 04:11:29 +00:00
...
This commit is contained in:
parent
de40f9027d
commit
c8af4ae6ea
|
@ -62,10 +62,7 @@ def osd_observer(_name, value):
|
||||||
print_there(0, 0, '\r ')
|
print_there(0, 0, '\r ')
|
||||||
osd_string = ' — '.join(osd_message)
|
osd_string = ' — '.join(osd_message)
|
||||||
term_len = get_terminal_size().columns
|
term_len = get_terminal_size().columns
|
||||||
print_there(0, 0, '\r'+osd_string[term_len:])
|
print_there(0, 0, '\r'+osd_string[:term_len])
|
||||||
else:
|
|
||||||
if not player.core_idle:
|
|
||||||
print_there(0, 0, '\r[N/A metadata, check info]')
|
|
||||||
|
|
||||||
|
|
||||||
@player.property_observer('stream-open-filename')
|
@player.property_observer('stream-open-filename')
|
||||||
|
|
Loading…
Reference in a new issue