diff --git a/src/common.pas b/src/common.pas index 5aaeb73..1fd5862 100644 --- a/src/common.pas +++ b/src/common.pas @@ -20,7 +20,7 @@ interface const APP_NAME = 'YTuner'; - APP_VERSION = '1.2.0'; + APP_VERSION = '1.2.1'; APP_COPYRIGHT = 'Copyright (c) 2024 Greg P. (https://github.com/coffeegreg)'; INI_VERSION = '1.2.0'; diff --git a/src/radiobrowser.pas b/src/radiobrowser.pas index a4f44ac..a64ed15 100644 --- a/src/radiobrowser.pas +++ b/src/radiobrowser.pas @@ -371,7 +371,7 @@ function GetStationsByCategory(var ARBStations: TRBStations; ARBAllCategoryType: begin GetRange(LStart,LHowMany,AReq.QueryFields); if RBCacheType in [catDB, catMemDB, catPermMemDB] then - Result:=DBRBGetStationsByCategory(ARBStations,ARBAllCategoryType,AName,GetAVRConfigIdx(AReq),LStart,LHowMany) + Result:=DBRBGetStationsByCategory(ARBStations,ARBAllCategoryType,HTTPDecode(AName),GetAVRConfigIdx(AReq),LStart,LHowMany) else Result:=GetStationsByCategory(ARBStations,ARBAllCategoryType,AName,GetAVRConfigIdx(AReq),LStart,LHowMany); end;