3.0.0-b1 Select Renderer's Section issue

Developers forum for Univeral Media Server-related development (only for programmers)
Locked
User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

3.0.0-b1 Select Renderer's Section issue

Post by DeFlanko »

So i manually set a few renderers, and then it asked me to restart UMS so i did by clicking the Restart UMS button up top but not re-search and find new renderers.

is this by design? Should there be a new button to relaunch UMS?

Steps to recreate:
  • Start UMS Render selection window, deselect all, select the ones you want. (in this example im unselecting DirecTV which should make it show up as a Unknown renderer now)
    Image
    Image
    Image
  • hit ok
  • hit Restart Server
    Image
  • Side note - Weird Exception error...

    Code: Select all

    [b]DEBUG 2013-10-08 08:50:56.469 [background-task-0-restart(0)] task started
    INFO  2013-10-08 08:50:56.469 [background-task-0-restart(0)] Sending BYEBYE...
    INFO  2013-10-08 08:50:56.563 [background-task-0-restart(0)] Stopping server on host 172.10.1.10 and port 1337...
    INFO  2013-10-08 08:50:57.530 [UPNPHelper] Exception in thread "UPNPHelper" java.lang.NullPointerException
    INFO  2013-10-08 08:50:57.530 [UPNPHelper] 	at net.pms.network.UPNPHelper.sendDiscover(UPNPHelper.java:88)
    INFO  2013-10-08 08:50:57.530 [UPNPHelper] 	at net.pms.network.UPNPHelper.access$400(UPNPHelper.java:39)
    INFO  2013-10-08 08:50:57.530 [UPNPHelper] 	at net.pms.network.UPNPHelper$2.run(UPNPHelper.java:385)
    INFO  2013-10-08 08:50:57.530 [UPNPHelper] 	at java.lang.Thread.run(Unknown Source)
    INFO  2013-10-08 08:50:57.577 [background-task-0-restart(0)] Using forced address 172.10.1.10
    INFO  2013-10-08 08:50:57.577 [background-task-0-restart(0)] Created socket: /172.10.1.10:1337[/b]
    
  • Device still shown as found.
    Image
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: 3.0.0-b1 Select Renderer's Section issue

Post by ExSport »

Were your settings saved so it persists after restart?
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: 3.0.0-b1 Select Renderer's Section issue

Post by SubJunk »

The "Restart Server" button is different to an application restart. There's no button for an application restart, you just need to click "Quit" and start the program again. Does it work if you do that?
User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

Re: 3.0.0-b1 Select Renderer's Section issue

Post by DeFlanko »

ExSport wrote:Were your settings saved so it persists after restart?
Yes, after quitting and relaunching the settings we're saved.
SubJunk wrote:The "Restart Server" button is different to an application restart. There's no button for an application restart, you just need to click "Quit" and start the program again. Does it work if you do that?
Yes, So basically its by design then. Got it.
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: 3.0.0-b1 Select Renderer's Section issue

Post by ExSport »

Because of that I never trusted to RESTART button and everytime I made QUIT/START procedure to be sure it is cleanly loaded (also checking that there is no javaw.exe process frozen)
@SubJunk: Nice gui. This opens doors for using "conflicting" renderers 8-)
Right now we can't define e.g Panasonic TV (model 2010) and Panasonic TV (model 2012) renderers at time because of same "UserAgent"=>conflicts. But with this GUI it should be possible. If it is somehow possible to enable only one renderer where another conflicting ones exist (e.g. by gray out-ing other renderers which is using same useragent), it would be great addition for everybody.
Right now we can't link IP addresses to specific renderers so if someone will own both models, there is no way to use both renderer configs anyway.
Should be this feature useful?
User avatar
DeFlanko
Posts: 724
Joined: Thu Jun 21, 2012 3:43 am
Location: San Pedro, CA
Contact:

Re: 3.0.0-b1 Select Renderer's Section issue

Post by DeFlanko »

Found a New bug.
So i select a render and exit and relaunch and it doesn't keep.
the youtube video shows what im talking about.

Render Selector Issue Video
Locked