Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New integrity check for minimserver.config file
14-11-2017, 00:16
Post: #11
RE: New integrity check for minimserver.config file
Please see this post for an explanation and a solution.
Find all posts by this user
Quote this message in a reply
15-11-2017, 17:09
Post: #12
RE: New integrity check for minimserver.config file
(02-11-2017 18:50)simoncn Wrote:  MinimServer update 105 (released today) performs an integrity check on the minimserver.config file when MinimServer starts. If the user has edited this file in a text editor, MinimServer will detect this as an integrity violation and will refuse to start. To make changes to MinimServer properties, you must either use MinimWatch or use the 'prop' console command.

This change also suggests that those who like to keep a backup of the configuration should use the props command, which lists all the current properties, and not copy the config file.

I did a quick experiment with windows powershell, and it seems pretty easy to use the WebAPI from that, so that you can view properties and make changes from a machine which doesn't have MinimWatch or MinimServer installed.

$response = invoke-webrequest -uri "http://192.168.0.16:9790" -contentType "text/plain" -body "props" -method "post"
$response.content

which should show something like this (or something more sensible if you aren't experimenting):

+*props
.autoUpdate=true
contentDir=c:\users\public\music
displayName=MinimService - Revo
http.port=9790
indexTags=Artist, Date, Genre, All Artists, Composer, Conductor, Orchestra
itemTags=Comment, Lyrics
.logFile=minimserver.log
.logLevel=info
mergeFolderAlbums=false
ohnet.debug=Default
ohnet.port=9791
showExtras=true
startupScan=true
stream.converter=C:\Users\Public\Downloads\ffmpeg.exe
stream.transcode=*:wav16, mp3:wav
tagCustom=AlbumArtist.displayRole={artist}, Composer.displayRole={artist}
tagFormat=Artist.displayFormat={$artist$orchestra$conductor}, Comment.displayFormat={$Lyrics^ ^ ^ $Comment}
tagOptions=Album.sortTags={Date,Album, Artist}
.updateReminder=1


so reinstating the settings shouldn't be hard.

Mike
Find all posts by this user
Quote this message in a reply
15-11-2017, 17:51
Post: #13
RE: New integrity check for minimserver.config file
Thanks for posting this. I would like at some point to provide export/import options. Export would produce something similar to this and import would apply a list of settings in the same format.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)