Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Commits

Ticket #10589: trying to get UPNP working

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


noreply at mythtv

Apr 12, 2012, 10:01 PM

Post #1 of 11 (238 views)
Permalink
Ticket #10589: trying to get UPNP working

#10589: trying to get UPNP working
--------------------------------------+-------------------------
Reporter: spamme@… | Owner: dblain
Type: Bug Report - General | Status: new
Priority: minor | Milestone: 0.26
Component: MythTV - UPnP | Version: Master Head
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+-------------------------
MythTV Version : v0.26-pre-34-gba0b3de-dirty
MythTV Branch : master
Network Protocol : 73
Library API : 0.26.20120411-1
QT Version : 4.8.0
Options compiled in:
linux profile use_hidesyms using_alsa using_jack using_oss using_pulse
using_pulseoutput using_backend using_bindings_perl using_bindings_python
using_bindings_php using_dvb using_firewire using_frontend using_hdhomerun
using_ceton using_hdpvr using_iptv using_ivtv using_joystick_menu
using_libcrypto using_libdns_sd using_libxml2 using_lirc using_mheg
using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2
using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python
using_bindings_php using_mythtranscode using_opengl using_ffmpeg_threads
using_live using_mheg using_libass using_libxml2

launched with mythbackend --log-level debug
results
--------------------------
2012-04-12 23:03:31.579031 D MMulticastSocketDevice(239.255.255.250:36):
setsockopt - IP_DROP_MEMBERSHIP
eno: Invalid argument (22)
--------------------------
Above is repeated at least once a second

There is a firewall before the netgear, but does not block this subnet.

All devices on same subnet connected to dumb netgear switch
UN40D6000 Samsung TV sees My PC
Mythdvr sees nothing
My PC can map a drive using samba to mythdvr
mythdvr,TV,my pc have internet
mythdvr firewall is off and
iptables --list is (policy ACCEPT) for all

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10589>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Apr 12, 2012, 10:09 PM

Post #2 of 11 (231 views)
Permalink
Re: Ticket #10589: trying to get UPNP working [In reply to]

#10589: trying to get UPNP working
----------------------------------+-----------------------------
Reporter: spamme@… | Owner: dblain
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - UPnP | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------
Changes (by beirdo):

* milestone: 0.26 => unknown


Comment:

Please don't set the Milestone on tickets.

What is the output of /sbin/route -n on your backend machine?

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10589#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Apr 13, 2012, 1:18 AM

Post #3 of 11 (226 views)
Permalink
Re: Ticket #10589: trying to get UPNP working [In reply to]

#10589: trying to get UPNP working
----------------------------------+-----------------------------
Reporter: spamme@… | Owner: dblain
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - UPnP | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by stuartm):

The output of netstat -atunp may also be useful.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10589#comment:2>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Apr 13, 2012, 5:01 AM

Post #4 of 11 (230 views)
Permalink
Re: Ticket #10589: trying to get UPNP working [In reply to]

#10589: trying to get UPNP working
----------------------------------+-----------------------------
Reporter: spamme@… | Owner: dblain
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - UPnP | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by spamme@…):

{{{
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
0.0.0.0 192.168.3.1 0.0.0.0 UG 0 0 0
eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0
eth0
192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0
eth0
}}}

-------------------------------------

{{{
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 0.0.0.0:901 0.0.0.0:* LISTEN
5645/xinetd
tcp 0 0 0.0.0.0:5801 0.0.0.0:* LISTEN
5645/xinetd
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
5463/mysqld
tcp 0 0 0.0.0.0:139 0.0.0.0:* LISTEN
3727/smbd
tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN
5645/xinetd
tcp 0 0 0.0.0.0:5902 0.0.0.0:* LISTEN
5645/xinetd
tcp 0 0 192.168.3.2:6543 0.0.0.0:* LISTEN
7752/mythbackend
tcp 0 0 127.0.0.1:6543 0.0.0.0:* LISTEN
7752/mythbackend
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
4856/rpcbind
tcp 0 0 192.168.3.2:6544 0.0.0.0:* LISTEN
7752/mythbackend
tcp 0 0 127.0.0.1:6544 0.0.0.0:* LISTEN
7752/mythbackend
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN
4847/vmware-convert
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN
5121/perl
tcp 0 0 0.0.0.0:4242 0.0.0.0:* LISTEN
4929/java
tcp 0 0 127.0.0.1:4243 0.0.0.0:* LISTEN
4929/java
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
4899/sshd
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN
5604/cupsd
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN
4847/vmware-convert
tcp 0 0 0.0.0.0:445 0.0.0.0:* LISTEN
3727/smbd
tcp 0 0 192.168.3.2:22 192.168.3.54:59025
ESTABLISHED 6443/1
tcp 0 0 192.168.3.2:445 192.168.3.54:59287
ESTABLISHED 8027/smbd
tcp 0 0 192.168.3.2:4242 192.168.3.54:59590
ESTABLISHED 4929/java
tcp 0 0 192.168.3.2:22 192.168.3.54:59002
ESTABLISHED 6292/0
tcp 0 0 :::34570 :::* LISTEN
4688/java
tcp 0 0 :::34571 :::* LISTEN
4688/java
tcp 0 0 :::139 :::* LISTEN
3727/smbd
tcp 0 0 :::34572 :::* LISTEN
4688/java
tcp 0 0 :::34573 :::* LISTEN
4688/java
tcp 0 0 ::1:6543 :::* LISTEN
7752/mythbackend
tcp 0 0 :::111 :::* LISTEN
4856/rpcbind
tcp 0 0 ::1:6544 :::* LISTEN
7752/mythbackend
tcp 0 0 :::80 :::* LISTEN
6520/httpd2-prefork
tcp 0 0 :::22 :::* LISTEN
4899/sshd
tcp 0 0 :::631 :::* LISTEN
5604/cupsd
tcp 0 0 :::445 :::* LISTEN
3727/smbd
udp 0 0 0.0.0.0:5353 0.0.0.0:*
1049/avahi-daemon:
udp 0 0 0.0.0.0:40198 0.0.0.0:*
2017/dhclient6
udp 0 0 239.255.255.250:58899 0.0.0.0:*
7752/mythbackend
udp 0 0 0.0.0.0:44641 0.0.0.0:*
1049/avahi-daemon:
udp 0 0 0.0.0.0:10000 0.0.0.0:*
5121/perl
udp 0 0 239.255.255.250:1900 0.0.0.0:*
7752/mythbackend
udp 0 0 255.255.255.255:51059 0.0.0.0:*
7752/mythbackend
udp 0 0 0.0.0.0:111 0.0.0.0:*
4856/rpcbind
udp 0 0 192.168.3.255:137 0.0.0.0:*
3703/nmbd
udp 0 0 192.168.3.2:137 0.0.0.0:*
3703/nmbd
udp 0 0 0.0.0.0:137 0.0.0.0:*
3703/nmbd
udp 0 0 192.168.3.255:138 0.0.0.0:*
3703/nmbd
udp 0 0 192.168.3.2:138 0.0.0.0:*
3703/nmbd
udp 0 0 0.0.0.0:138 0.0.0.0:*
3703/nmbd
udp 0 0 0.0.0.0:41166 0.0.0.0:*
7752/mythbackend
udp 0 0 0.0.0.0:631 0.0.0.0:*
5604/cupsd
udp 0 0 0.0.0.0:789 0.0.0.0:*
4856/rpcbind
udp 0 0 :::34570 :::*
4688/java
udp 0 0 :::34577 :::*
4688/java
udp 0 0 :::34578 :::*
4688/java
udp 0 0 :::34579 :::*
4688/java
udp 0 0 :::34580 :::*
4688/java
udp 0 0 :::14144 :::*
2017/dhclient6
udp 0 0 :::111 :::*
4856/rpcbind
udp 0 0 :::177 :::*
5655/kdm
udp 0 0 :::546 :::*
2017/dhclient6
udp 0 0 :::789 :::*
4856/rpcbind

}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10589#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Apr 24, 2012, 5:01 PM

Post #5 of 11 (215 views)
Permalink
Re: Ticket #10589: trying to get UPNP working [In reply to]

#10589: trying to get UPNP working
----------------------------------+-----------------------------
Reporter: spamme@… | Owner: dblain
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - UPnP | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by spamme@…):

upnp-inspector

can see my TV from my myth box.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10589#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

May 5, 2012, 9:44 PM

Post #6 of 11 (202 views)
Permalink
Re: Ticket #10589: trying to get UPNP working [In reply to]

#10589: trying to get UPNP working
----------------------------------+-----------------------------
Reporter: spamme@… | Owner: dblain
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - UPnP | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by spamme@…):

I have added the log files from mythbackend -v upnp to help diagnose the
problem.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10589#comment:5>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

May 31, 2012, 2:16 PM

Post #7 of 11 (198 views)
Permalink
Re: Ticket #10589: trying to get UPNP working [In reply to]

#10589: trying to get UPNP working
----------------------------------+-----------------------------
Reporter: spamme@… | Owner: dblain
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - UPnP | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by spamme@…):

I wrote a perl program which uses UPNP to detect UPNP capable devices. It
sees my PC and the front room tv, but still no Mythdvr.

sample output:

{{{
[0] : [TV]UN40D6000

Manufactor Samsung Electronics
manufacturer_url http://www.samsung.com/sec
model_description Samsung RVU TV series 6
model_name UN40D6000
model_number AllShare1.0
model_url http://www.samsung.com/sec
serialnumber <Hidden>
udn uuid:5d83e28c-ea4a-4f38-a7ff-dc95f2f9ff66

}}}

Please advise:

I included my program so someone who has a working setup can test it.
Note: <Device dependant> My program may output dozens of screens worth
of text information.

I have updated to:


{{{
MythTV Version : v0.26-pre-388-g29ca559-dirty
MythTV Branch : master
Network Protocol : 74
Library API : 0.26.20120509-1
QT Version : 4.8.1
}}}

My UPNP devices can't see mythtv nor does mythtv see them.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10589#comment:6>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Sep 22, 2012, 4:34 AM

Post #8 of 11 (141 views)
Permalink
Re: Ticket #10589: trying to get UPNP working [In reply to]

#10589: trying to get UPNP working
----------------------------------+-----------------------------
Reporter: spamme@… | Owner: dblain
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - UPnP | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by Rune Petersen <rune@…>):

Try to apply this fix #11111 and see if it helps with UPNP discovery.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10589#comment:7>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Sep 22, 2012, 2:03 PM

Post #9 of 11 (139 views)
Permalink
Re: Ticket #10589: trying to get UPNP working [In reply to]

#10589: trying to get UPNP working
----------------------------------+-----------------------------
Reporter: spamme@… | Owner: dblain
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - UPnP | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by Rune Petersen <rune@…>):

@spamme please keep responses in this ticket.

I have tested upnp-locator 0.2.2 with MythTV 0.25 + fix #11111 and the
myth server is discovered.

could you provide a log running mythbackend -v upnp ?
and could you provide the 'getDeviceDesc' file you get from:

"wget http://<IP to mythbackend>:6544/getDeviceDesc"

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10589#comment:8>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Sep 22, 2012, 6:36 PM

Post #10 of 11 (136 views)
Permalink
Re: Ticket #10589: trying to get UPNP working [In reply to]

#10589: trying to get UPNP working
----------------------------------+-----------------------------
Reporter: spamme@… | Owner: dblain
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - UPnP | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by spamme@…):

no luck


{{{
<?xml version="1.0" encoding="utf-8"?>
<root xmlns="urn:schemas-upnp-org:device-1-0" xmlns:mythtv="mythtv.org">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<URLBase>http://mythbackend:6544/</URLBase>
<device>
<deviceType>urn:schemas-upnp-org:device:MediaServer:1</deviceType>
<friendlyName>mythdvr: MythTV AV Media Server</friendlyName>
<manufacturer>MythTV</manufacturer>
<modelURL>http://www.mythtv.org/</modelURL>
<modelName>MythTV AV Media Server</modelName>
<manufacturerURL>http://www.mythtv.org/</manufacturerURL>
<modelDescription>MythTV AV Media Server</modelDescription>
<modelNumber>0.26.20120822-1</modelNumber>
<serialNumber>v0.26-rc2-30-g272fb61-dirty</serialNumber>
<presentationURL>/</presentationURL>
<mythtv:X_secure>false</mythtv:X_secure>
<mythtv:X_protocol>75</mythtv:X_protocol>
<dlna:X_DLNADOC xmlns:dlna="urn:schemas-dlna-
org:device-1-0">DMS-1.00</dlna:X_DLNADOC>
<UDN>uuid:0705d747-7b55-415d-b2cf-d9517014cb7d</UDN>
<serviceList>
<service>
<serviceType>urn:schemas-upnp-
org:service:ConnectionManager:1</serviceType>
<serviceId>urn:upnp-org:serviceId:CMGR_1-0</serviceId>
<SCPDURL>CMGR_Control/GetServDesc</SCPDURL>
<controlURL>CMGR_Control</controlURL>
<eventSubURL>CMGR_Event</eventSubURL>
</service>
<service>
<serviceType>urn:schemas-upnp-org:service:ContentDirectory:1</serviceType>
<serviceId>urn:upnp-org:serviceId:CDS_1-0</serviceId>
<SCPDURL>CDS_Control/GetServDesc</SCPDURL>
<controlURL>CDS_Control</controlURL>
<eventSubURL>CDS_Event</eventSubURL>
</service>
</serviceList>
</device>
</root>

}}}

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10589#comment:9>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits


noreply at mythtv

Sep 25, 2012, 8:10 PM

Post #11 of 11 (135 views)
Permalink
Re: Ticket #10589: trying to get UPNP working [In reply to]

#10589: trying to get UPNP working
----------------------------------+-----------------------------
Reporter: spamme@… | Owner: dblain
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - UPnP | Version: Master Head
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
----------------------------------+-----------------------------

Comment (by spamme@…):

I am using the latest build from git version 26 so something else must
have changed since them also.

--
Ticket URL: <http://code.mythtv.org/trac/ticket/10589#comment:10>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-commits

MythTV commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.