This commit is contained in:
localhost_frssoft 2022-12-22 14:37:27 +03:00
parent de40f9027d
commit c8af4ae6ea

View File

@ -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')