Struggling with saving presets (to replace options file)
#1
Hi, I normally use WebPVR Manager and am not used to the cli so am struggling with the recent removal of the options file from 3.18. I had a number of options set but now need to use presets. I can't work out if I set prefs in the cli if the prefs are remembered from one session to the next.

I have read several threads and guide sections. At the bottom of this thread https://forums.squarepenguin.co.uk/thread-1319.html it says using --prefs-add will store it as a default.

Yet this thread https://forums.squarepenguin.co.uk/threa...ght=preset refers to presets which should be stored in the profile directory.

Another thread referred to the Setting preferences page in the wiki https://github.com/get-iplayer/get_iplayer/wiki/prefs which also says presets aare stored in the profile directory. This page does give examples of various presets but at one stage says "see below for options file format" and later says "preset files have the same format as the user settings files (see above)" - there is no information in between as to what format the file should be in .txt or what?

I'm sure this is my lack of understanding as a non-cli non-Linux non-techie so apologies for that. But I would appreciate some guidance as to how to move the things I have in the options file to a preset which will persist from one shutdown to the next start up. Thanks.
#2
You misunderstood the release notes. The options file in profile directory is still used as before. You do not have to make any changes.
#3
OK Thanks. It does seem I misunderstood "get_iplayer no longer looks for a local options file under the current working directory (in ./.get_iplayer/options). "

When I installed 3.18 (2 days ago) all the options I had set in WebPVR Manager reset themselves (eg from radio to tv). This was even though the --prefs-show in cli confirmed that type = radio. I re-read the WebPVR Guide in particular the Relationship to CLI section and tested a few things which confirmed that changes made in Options were correctly seen by cli - but not WebPVR Manager.

My understanding is now that IF there is a setting in WebPVR manager, it will override the CLI and this includes the Options file.

If that's correct, is there a way of saving the WebPVR settings when installing a new version of get_iplayer over an existing one?

Thanks
#4
I note on this wiki page https://github.com/get-iplayer/get_iplayer/wiki/webpvr it says
  • Save As Default saves the options in settings tabs and a few of the standard settings such as Programme Type. The settings are saved as browser cookies.
I therefore assume that this is the only way of persisting these settings for WebPVR Manager and hence if the cookies are lost or glitch, the settings in WebPVR Manager must be reset manually because.
Quote:The WPM also was designed to maintain its own configuration settings separate from preferences set with the CLI using --prefs-add. It is strongly recommended that if you are a WPM user you do all your configuration in the WPM.

Is that correct?


Possibly Related Threads…
Thread Author Replies Views Last Post
  can you add --whitespace to the options file InAFlap 2 2,285 01-09-2017, 02:59 PM
Last Post: InAFlap
  indexing and the include exclude option in the options file InAFlap 5 5,365 04-05-2017, 06:39 PM
Last Post: InAFlap
  Homes Under the Hammer PVR (in HD) saving to my network share. Is this possible? cmr_iplayer 1 2,171 19-09-2015, 11:23 AM
Last Post: dinky
  Saving to Dir cyber-kore 2 2,641 21-01-2015, 02:31 AM
Last Post: cyber-kore