These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Struggling with saving presets (to replace options file)

user-688

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.

user-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.

user-688

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

user-688

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?

These forums are archived

See this post for further info