Skip to content

Commit

Permalink
v1.2.1
Browse files Browse the repository at this point in the history
Fix: (Cache type : catDB,catMemDB,catPermMemDB) : Incorrect handling of categories containing a space character(s).
  • Loading branch information
coffeegreg committed Jan 22, 2024
1 parent 3b7ee1d commit d1f0f39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/common.pas
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
2 changes: 1 addition & 1 deletion src/radiobrowser.pas
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d1f0f39

Please # to comment.