FAQ  •  Register  •  Login

Profiles.xml

<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Wed Jan 08, 2014 11:06 pm

Profiles.xml

Minor enhancement.

Would it be possible to have a button on Serviio Console (probably on the Status tab) to force Serviio to reload Profiles.xml. This would help avoid the issue of users not restarting their Serviio Service after editing profiles.

Another possible enhancement I have thought about is to have an optional file "User Profiles.xml" that if it exists, is loaded after the standard profiles. This will allow users to store their custom profiles and mods in a separate file, so that when an update of Serviio comes along, they don't have to go back on an make their modifications to "Profiles.xml" (which is overwritten every update).
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

atc98092

User avatar

DLNA master

Posts: 5432

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Thu Jan 09, 2014 2:04 am

Re: Profiles.xml

OK, that's entirely too logical... :lol:

Splendid idea. Depending on what the core program does after loading the profiles, it shouldn't be too difficult. However, if he does a bunch more program loading after the profiles are loaded, it might take some significant coding changes. Nothing is impossible (almost...)!
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Sun Mar 23, 2014 12:36 am

Re: Profiles.xml

I concur. Possibly the user's profile file could take precedence when matching device user-agents or friendly names, incase the default profile gets loaded instead of one's own custom profile.
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.
<<

JamesUK

Streaming enthusiast

Posts: 28

Joined: Wed Jul 31, 2013 1:38 pm

Post Tue Apr 01, 2014 10:44 pm

Re: Profiles.xml

Funnily enough, I just came to post a feature request about splitting-up the Profiles.xml for a few reasons:

  1. The current config is already pretty long, which makes it hard to read/find stuff, hence by being able to put profiles into their own files, it would make life that bit easier - for those editing them at least!
  2. At the minute, the built-in profiles seem to be more series rather than device based, and I'm guessing (in part) that's because of concerns around an explosion of profiles making the profiles.xml file huge!
  3. It could provide a nicer way of separating what people should and shouldn't edit, e.g. the default profile could be in a file that should never be edited.
  4. It would allow people to put their own profiles into separate files, so that they are easy to keep/migrate when upgrading Serviio, e.g. the Serviio installer can add/delete/update its own, and leave the rest alone.
Perhaps this could be achieved using a directory based approach. There could be a root profiles.xml, which has some XML nodes in that define the subdirectories (with a priority level) to look in for profiles. For example, that root profiles.xml could contain the default profile, and reference three other directories: Series Based Profiles (Low Priority), Device Based Profiles (Medium Priority) and User Defined Profiles (Highest Priority).

Note: You could perhaps avoid always loading all of the profiles too (instead just lazy loading what you need) by having a kind of list.xml in each subdirectory, which for each profile contains a name, the search pattern(s), and path to its config file. I guess doing so would enable the config files to be easily stored in a directory hierarchy, which might be useful, if eventually you end-up with a lot of config files.
<<

pierrep

Streaming enthusiast

Posts: 42

Joined: Sun Jun 12, 2011 6:59 am

Location: Grenoble - France

Post Fri Apr 11, 2014 10:10 am

Re: Profiles.xml

JamesUK wrote:I just came to post a feature request about splitting-up the Profiles.xml for a few reasons:
.... It would allow people to put their own profiles into separate files, so that they are easy to keep/migrate when upgrading Serviio.

Thanks James

I wanted to ask for the same feature: to have my own Profile in a separated file.
When upgrading Serviio today, it's a huge and risky job to merge my old customized Profiles file with the new stock Profiles.xml

Regards
Pierre
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Fri Apr 11, 2014 10:23 am

Re: Profiles.xml

FYI: I also raised this as a bitbucket issue/request in February - see https://bitbucket.org/xnejp03/serviio/i ... r-profiles.
Also I must have been having a blonde moment, as I raised the second part of this request in another topic... see also: viewtopic.php?f=3&t=16053
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

JamesUK

Streaming enthusiast

Posts: 28

Joined: Wed Jul 31, 2013 1:38 pm

Post Fri Apr 11, 2014 10:52 am

Re: Profiles.xml

Perhaps it would also be worth linking to this topic in the ticket?
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Fri Apr 11, 2014 10:56 am

Re: Profiles.xml

Good idea - done.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

TimC

Serviio newbie

Posts: 7

Joined: Thu May 01, 2014 3:49 pm

Post Fri May 02, 2014 4:37 pm

Re: Profiles.xml

Definitely like the idea of a users profile file as this would - from a user's perspective - make life simpler.

Having just started using Serviio this would be my first request. I'm currently using Mezzmo on my PC which has separate profile files by device ID & this works very well - if you make a mistake in an individual profile then only that one fails to load. And obviously any upgrades won't overwrite your amendments.
<<

grolschie

DLNA master

Posts: 695

Joined: Tue Jun 28, 2011 4:02 am

Post Fri May 02, 2014 8:07 pm

Re: Profiles.xml

DenyAll wrote:FYI: I also raised this as a bitbucket issue/request in February - see https://bitbucket.org/xnejp03/serviio/i ... r-profiles.


This is a good idea. I have voted on the ticket.
Using Serviio on Debian "Wheezy" with Xbox 360, Sony BDP-S370 & Panasonic E6.

Return to Feature requests

Who is online

Users browsing this forum: No registered users and 41 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.