Page 1 of 1

Serviio console updating

PostPosted: Sat Feb 11, 2012 9:23 pm
by moltra
Zip,
I know if I have serviio console running at the same time I make a change via serviidroid, the "serviio console" does not see that changes until I restart the serviio console. Is there anyway for the serviio service to send a push to update all consoles or have the serviio console refresh automatically. I think the push method would the best way if possible.

Re: Serviio console updating

PostPosted: Sat Feb 11, 2012 9:30 pm
by Cerberus
i second that.

Re: Serviio console updating

PostPosted: Sun Feb 12, 2012 2:01 am
by zip
That would be very difficult. Imagine you're adding sources on both at the same time, there will be a conflict. Definitely not in the scope atm.

Re: Serviio console updating

PostPosted: Sun Feb 12, 2012 8:18 am
by Cerberus
zip wrote:That would be very difficult. Imagine you're adding sources on both at the same time, there will be a conflict. Definitely not in the scope atm.


wow ok thats not something i would not of thought any user would do but yer i guess its possible. :o

Re: Serviio console updating

PostPosted: Sun Feb 12, 2012 8:52 am
by will
When I wrote the app the pain came from network errors and moddifications happening while doing something else. From my apps point of view, if they make a change somewhere else and don't press refresh before making a change in the app, they will loose the other change.

A compromise might be a 'Restart console' button as with the exit console that for now simply restarts the console, or if its not too much of a pain, a 'Refresh console' button that reloads all the data.

Re: Serviio console updating

PostPosted: Sun Feb 12, 2012 12:28 pm
by zip
I think a 'Refresh console' button would be very confusing to normal users.

Re: Serviio console updating

PostPosted: Wed Feb 15, 2012 6:25 am
by JerseyJoe123
Cerberus wrote:
zip wrote:That would be very difficult. Imagine you're adding sources on both at the same time, there will be a conflict. Definitely not in the scope atm.


wow ok thats not something i would not of thought any user would do but yer i guess its possible. :o



That is precisely what happened to me. I have a PC in my office and a laptop in our rec room. Both have the Windows Serviio console installed on them, which sits running in the tray at the bottom of their respective screens. They connect to a separate Ubuntu headless server with Serviio installed. I was sitting in the rec room laptop a few days ago and added about 10-15 additional online streams to the Serviio library via the console. I clicked the save button afterward and actually watched a couple of them. I already had 3-4 streams in the Serviio library that I added from a previous time.

Yesterday, I sat down at my office and decided to watch one of those first 3-4 streams and noticed that it wasn't working. I went online and found that the URL of the stream had changed, so I brought up the Serviio console sitting in the office PC tray and proceeded to fix the URL address. I then clicked Save to update the library. Normally when I do that, the Save button would grey out, showing that the change had been saved, but this time it didn't. I thought that was a bit strange, so I restarted the Serviio console.

It was then that I realized that the 10-15 Online streams that I had added a couple of nights before via the rec room laptop had all disappeared. It seems that when I clicked on the Save button on the Office PC Serviio console, it decided to re-save all the online streams (not just the one I modified) as it knew them when the Serviio console was originally launched on the Office PC a week earlier, as it didn't get the refreshed list from the server that included the 10-15 new streams that I had added a couple of days before from the laptop.

Re: Serviio console updating

PostPosted: Wed Feb 15, 2012 8:15 am
by Cerberus
JerseyJoe123 wrote:
Cerberus wrote:
zip wrote:That would be very difficult. Imagine you're adding sources on both at the same time, there will be a conflict. Definitely not in the scope atm.


wow ok thats not something i would not of thought any user would do but yer i guess its possible. :o



That is precisely what happened to me. I have a PC in my office and a laptop in our rec room. Both have the Windows Serviio console installed on them, which sits running in the tray at the bottom of their respective screens. They connect to a separate Ubuntu headless server with Serviio installed. I was sitting in the rec room laptop a few days ago and added about 10-15 additional online streams to the Serviio library via the console. I clicked the save button afterward and actually watched a couple of them. I already had 3-4 streams in the Serviio library that I added from a previous time.

Yesterday, I sat down at my office and decided to watch one of those first 3-4 streams and noticed that it wasn't working. I went online and found that the URL of the stream had changed, so I brought up the Serviio console sitting in the office PC tray and proceeded to fix the URL address. I then clicked Save to update the library. Normally when I do that, the Save button would grey out, showing that the change had been saved, but this time it didn't. I thought that was a bit strange, so I restarted the Serviio console.

It was then that I realized that the 10-15 Online streams that I had added a couple of nights before via the rec room laptop had all disappeared. It seems that when I clicked on the Save button on the Office PC Serviio console, it decided to re-save all the online streams (not just the one I modified) as it knew them when the Serviio console was originally launched on the Office PC a week earlier, as it didn't get the refreshed list from the server that included the 10-15 new streams that I had added a couple of days before from the laptop.


thats slightly different from what we were talking about, as the feature we were talking about would actually fix your problem rather than break it. Plus you not supposed to run 2 instances of the standard console at the same time, we ere talking abotu a third party console and the standard cosole, and not 2 standard consoles.

You could also fix your issue by installing the WEBUI console on the NAS/server and then access that from both your pc's so you are actual only using one console but have access to it from multiple computers