Skip to content

Commit

Permalink
Update ytuner.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
coffeegreg committed Jan 27, 2025
1 parent d8fe4df commit 02b19f9
Showing 1 changed file with 24 additions and 13 deletions.
37 changes: 24 additions & 13 deletions cfg/ytuner.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Configuration]
; Please do not change this value !
INIVersion=1.2.1
INIVersion=1.2.2

;Force the use of the selected IP address of one of the existing interfaces.
;Leave this parameter with "default" value when you have one IP address only or you are not sure what to do.
Expand All @@ -19,15 +19,21 @@ UseSSL=1
;Force HTTP code for redirect. It can be useful for PLAY endpoint. Default = 302
RedirectHTTPCode=302

;Log message level. 0-None, 1-Info, 2-Warning, 3-Error, 4-Debug ; Default = 0
MessageInfoLevel=3
;Log message level. 0-None, 1-Info, 2-Warning, 3-Error, 4-Debug ; Default = 0 ; Initial = 4
MessageInfoLevel=4

;Station logo icon size (width & height). Default = 200
IconSize=200

;Cache icon files. 1-Yes 0-No ; Default = 1
IconCache=1

; This parameter is related to this discussion https://github.com/coffeegreg/YTuner/discussions/43
; This parameter can be used in very rare cases and in other cases it should be left empty.
; Default: blank.
; Example: jpg
IconEndPointExtension=

;Sixteen characters string with your token. Allowed characters: 0-9 and A-F/a-f; Default=0123456789ABCDEF
;Use with care. Changing this parameter also changes the name of the AVR bookmark file(s) (unless you are using a common bookmark.xml file) and not-common filtering/configuration options ini file(s).
MyToken=0123456789ABCDEF
Expand Down Expand Up @@ -87,15 +93,15 @@ RBAPIURL=http://all.api.radio-browser.info
;For this reason, the station list displayed by AVR may be significantly different from this value or even be empty.
;Determine this value for yourself based on your filtering scope.
;Applicable for [catNone,ctFile,ctMemStr] RBCacheType only.
RBPopularAndSearchStationsLimit=1000
RBPopularAndSearchStationsLimit=100

;Radio-browser.info minimum number of stations per category. Default = 3
;Radio-browser.info minimum number of stations per category. Default = 1
;Applicable for [catNone,ctFile,ctMemStr] RBCacheType only.
RBMinStationsPerCategory=3
RBMinStationsPerCategory=1

;Radio-browser.info UUIDs file cache TTL (hours) ; Empty or value <= 0 always means a valid UUID file cache (if exists) and never refreshes its content. ; Default = 24
;Radio-browser.info UUIDs file cache TTL (hours) ; Empty or value < 0 always means a valid UUID file cache (if exists) and never refreshes its content. ; Default = empty
;Applicable for [catNone,ctFile,ctMemStr] RBCacheType only.
RBUUIDsCacheTTL=0
RBUUIDsCacheTTL=

;Radio-browser.info UUIDs file cache auto refresh. Applicable when RBUUIDsCacheTTL>0 only. 1-Yes 0-No ; Default = 0
;Applicable for [catNone,ctFile,ctMemStr] RBCacheType only.
Expand All @@ -104,7 +110,7 @@ RBUUIDsCacheAutoRefresh=0
;Use one value of set [catNone,catFile,catMemStr,catDB,catMemDB,catPermMemDB] or leave blank.
;catNone or blank = Do not use cache. Slow!
;catFile = Store previously browsed categories and stations in cache files. Most suitable if the amount of free memory is very small.
;catMemStr = Store previously browsed categories and stations in memory cache. Fastest, but may need more bytes of free memory.
;catMemStr = Store previously browsed categories and stations in memory cache. FASTEST, but may need more bytes of free memory.
;catDB = Store ALL useful information about categories and stations of Radio-browser.info in SQLite DB file.
; The initial DB file creation process may take a few minutes, but will remain persistent after you restart YTuner.
; After this operation, you will no longer need access to redio-browser.info until you decide to refresh the downloaded data (when RBCacheTTL>0).
Expand All @@ -116,17 +122,22 @@ RBUUIDsCacheAutoRefresh=0
;catMemDB and catPermMemDB require additional ~30MB of free RAM to load entire database. Refreshing the database involves starting a concurrent thread that downloads the current content of the radio-browser.info resources and creates a second database while the current one is still running.
;After the process is completed, the newly created database becomes the current database and the old one is deleted. Due to this, an additional ~30MB of free memory is needed for the duration of this process.
;Additionally, data in JSON format downloaded from Radio-browser.info takes over 50MB.
;Test the best option for you. Default = catPermMemDB;
;
;Tip : If you are running YTuner on a machine that does not have much computing power and you have selected one of the options [catDB,catMemDB,catPermMemDB], the process of creating a full database of all stations from Radiobrowser.info may take a very long time.
;In such a case, it is better to run YTuner on a faster machine that will quickly build the rb.db file in the db directory and then copy this file to the appropriate directory on the YTuner machine.
;Regardless, the database itself may also be slow if your CPU does not have enough computing power.
;
;Test the best option for you. Default : Slow devices = catMemStr ; Fast devices = catPermMemDB;
RBCacheType=catPermMemDB

;Radio-browser.info stations cache TTL (hours). Empty or value <= 0 always means a valid cache (if exists) and never refreshes its contents. ; Default = 24
RBCacheTTL=0
;Radio-browser.info stations cache TTL (hours). Empty or value < 0 always means a valid cache (if exists) and never refreshes its contents. ; Default = empty
RBCacheTTL=

[Bookmark]
;Enables bookmarks. Your AVR must support bookmark to save stations to bookmark. 1-Yes 0-No ; Default = 1
Enable=1

;One common bookmark file (bookmark.xml) for all AVR devices. Otherwise, each AVR will own its own bookmark file. 1-Yes 0-No ; Default = 0
;One common bookmark file (bookmark.xml) for all AVR devices. Otherwise, each AVR will own its own bookmark file. 1-Yes 0-No ; Default = 1
CommonBookmark=1

;Bookmark stations limit. ; Default = 100
Expand Down

0 comments on commit 02b19f9

Please sign in to comment.