suconghou / dlna-python

simple dlna client & server in pure python
20 stars 6 forks source link

need DLNA player simple sample #3

Open naughtyGitCat opened 6 months ago

naughtyGitCat commented 6 months ago

Is there any DLNA player code sample, that receives control commands and plays audio/video on a speaker or screen?

best wishes

suconghou commented 6 months ago

receives control commands

once your MediaRenderer server has been found , it has become a http communication, user send a http request SetAVTransportURI, it is your server's responsibility to parse and startup the player https://github.com/suconghou/dlna-python/blob/master/main.py#L1192