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

Mailing List Archive: MythTV: Users

Migrated backend and now the UPnP isn't showing up

 

 

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


celpa.firl at gmail

Apr 28, 2012, 9:52 PM

Post #1 of 5 (1320 views)
Permalink
Migrated backend and now the UPnP isn't showing up

Hello all,

I migrated my mythbackend server from a ubuntu box( v 11 ) to a freebsd
box( 8.2 ). I followed the instructions here:
http://www.mythtv.org/wiki/Backend_migration I read somewhere about version
.24 not respecting storage directories.

now when the UPnpMedia tries to start up I get the following error:

2012-04-28 23:37:24.192 UPnpMedia: BuildMediaMap - no VideoStartupDir set,
skipping scan.


All of the shows show up fine on my frontends, I just really grew
accustomed to the UPnP and would like to know what I might need to do to
get it back.




Configuration now:

Freebsd box 8.2
Mythtv .24 running in a jail built from source.
mysql 5.1
2 HDHomerun devices ( 4 tuners )


Thanks in advanced for help,


- Firl


raymond at wagnerrp

Apr 29, 2012, 12:17 AM

Post #2 of 5 (1264 views)
Permalink
Re: Migrated backend and now the UPnP isn't showing up [In reply to]

On 4/29/2012 00:52, Edward Bond wrote:
> Mythtv .24 running in a jail built from source.

There's your problem. The standard FreeBSD jail only sends traffic to
the specific IP address defined to applications running inside the
jail. That means no broadcast traffic (HDHRs will not autodetect) and
no multicast (no UPnP). If you want UPnP to operate from inside a jail,
you're going to need to compile a new kernel with VIMAGE support, and
configure your jails using vnets. VIMAGE is a virtual networking stack
that produces a pair of ethernet devices with traffic tunneled between
them. You bridge one end with the host's uplink adapter, and push the
other end into the jail. The jail can then configure its own IP
addresses as a normal (non-jail) system would.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Apr 29, 2012, 5:11 AM

Post #3 of 5 (1257 views)
Permalink
Re: Migrated backend and now the UPnP isn't showing up [In reply to]

On 04/29/2012 12:52 AM, Edward Bond wrote:
> Hello all,
>
> I migrated my mythbackend server from a ubuntu box( v 11 ) to a
> freebsd box( 8.2 ). I followed the instructions here:
> http://www.mythtv.org/wiki/Backend_migration I read somewhere about
> version .24 not respecting storage directories.
>
> now when the UPnpMedia tries to start up I get the following error:
>
> 2012-04-28 23:37:24.192 UPnpMedia: BuildMediaMap - no VideoStartupDir
> set, skipping scan.
>

FWIW, UPnP no longer has a UPnP-only scanner, so you'll need to properly
configure and scan for videos in Video Library (formerly MythVideo).

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


raymond at wagnerrp

Apr 29, 2012, 8:20 AM

Post #4 of 5 (1254 views)
Permalink
Re: Migrated backend and now the UPnP isn't showing up [In reply to]

On 4/29/2012 08:11, Michael T. Dean wrote:
> On 04/29/2012 12:52 AM, Edward Bond wrote:
>> I read somewhere about version .24 not respecting storage directories.
>>
>> 2012-04-28 23:37:24.192 UPnpMedia: BuildMediaMap - no VideoStartupDir
>> set, skipping scan.
>>
>
> FWIW, UPnP no longer has a UPnP-only scanner, so you'll need to
> properly configure and scan for videos in Video Library (formerly
> MythVideo).

He's running 0.24. The video scanner was only removed from the UPnP
server for 0.25. 0.24 still used the old local folder paths.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


celpa.firl at gmail

Apr 30, 2012, 12:06 PM

Post #5 of 5 (1233 views)
Permalink
Re: Migrated backend and now the UPnP isn't showing up [In reply to]

Turns out because my new backend box can't run mythfrontend I had to
run mythfrontend from another machine set the directories, then set
the values in the database to the right host. After doing this I now
get:



"2012-04-30 13:43:45.871 UPnpMedia: BuildMediaMap VIDEO scan starting
in :/mnt/mythStorage/defaultstorage:

2012-04-30 13:43:45.962 UPnpMedia: BuildMediaMap Done. Found 340 objects"


however I still can't see those objects or anything for that matter
being broadcasted.

according to: http://www.mythtv.org/wiki/UPnP  I have added the route
in the host just to make sure.


[code]

mythJail# netstat -r

Routing tables


Internet:

Destination        Gateway            Flags    Refs      Use  Netif Expire

default            pfSense.localdomai UGS         0     1179    em0

localhost          link#2             UH          0    93726    lo0

192.168.0.0        link#1             U           0 28023332    em0

239.0.0.0          38:60:77:87:6c:d3  US          0        0    em0

[/code]



but it still doesn't seem to be broadcasting


Any suggestions on how to diagnose that part?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users

MythTV users 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.