Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Access DLNA TV with Java code

Tags:

java

dlna

I want to control my DLNA TV from my Java program on my PC. In particular, I want to:

  • discover if there's a TV in the LAN
  • check whether it is currently ON (for a first step)
  • later send some commands (eg. OFF) to it

I believe, I need to implement the Digital Media Controller (DLNA-DMC) profile. Is there a Java library which allows me to do this easily?

I couldn't find much doc on this. Are the APIs under NDA?

Can you recommend some reading?

like image 707
Philipp Avatar asked Dec 16 '22 09:12

Philipp


1 Answers

Take a look at Cling. I'm not sure it implements the UPnP control point features you're in fact looking for, but at least it's a starting point.

like image 195
Riduidel Avatar answered Dec 25 '22 06:12

Riduidel