Skip to content

Commit

Permalink
Did a few fixes and prepared 1.4.3 release
Browse files Browse the repository at this point in the history
  • Loading branch information
walkero-gr committed Oct 21, 2021
2 parents 73e45f2 + 73e45f2 commit b6c0e82
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 9 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# Changelog
All notable changes to this project will be documented in this file.

## [1.4.3] - future
### Fixed
- Fixed the search of trending podcasts when the user didn't select
any category and language
- Fixed the search of radio station when the user selected only the
country and nothing else
- Fixed the script "start_player" execution when the MediaVault
path contains spaces

## [1.4.2] - 2021-10-17
### Fixed
- The online radio stations api changed and broke the searching of
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,14 @@ Help me persuade my wife that what I am doing matters

Changelog
--------------------------
v1.4.3 - 2021-10-21
* Fixed the search of trending podcasts when the user didn't select
any category and language
* Fixed the search of radio station when the user selected only the
country and nothing else
* Fixed the script "start_player" execution when the MediaVault
path contains spaces

v1.4.2 - 2021-10-17
* The online radio stations api changed and broke the searching of
online radio stations. This is a fix for that.
Expand Down
10 changes: 9 additions & 1 deletion aminet.readme
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Short: Discover online radio stations
Uploader: [email protected] (George Sokianos)
Author: [email protected] (George Sokianos)
Type: util/wb
Version: 1.4.2
Version: 1.4.3
Architecture: ppc-amigaos
Distribution: Aminet
Requires:
Expand Down Expand Up @@ -117,6 +117,14 @@ https://ko-fi.com/W7W465887

Changelog
--------------------------
v1.4.3 - 2021-10-21
* Fixed the search of trending podcasts when the user didn't select
any category and language
* Fixed the search of radio station when the user selected only the
country and nothing else
* Fixed the script "start_player" execution when the MediaVault
path contains spaces

v1.4.2 - 2021-10-17
* The online radio stations api changed and broke the searching of
online radio stations. This is a fix for that.
Expand Down
10 changes: 9 additions & 1 deletion os4depot.readme
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: mediavault
description: Discover online radio stations
version: 1.4.2
version: 1.4.3
author: George Sokianos
submitter: George Sokianos
email: [email protected]
Expand Down Expand Up @@ -122,6 +122,14 @@ https://ko-fi.com/W7W465887

Changelog
--------------------------
v1.4.3 - 2021-10-21
* Fixed the search of trending podcasts when the user didn't select
any category and language
* Fixed the search of radio station when the user selected only the
country and nothing else
* Fixed the script "start_player" execution when the MediaVault
path contains spaces

v1.4.2 - 2021-10-17
* The online radio stations api changed and broke the searching of
online radio stations. This is a fix for that.
Expand Down
6 changes: 3 additions & 3 deletions src/gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ struct List radioList,
trendingPodcastList,
podcastEpisodeList;

struct filters lastFilters,
prevFilters;
struct filters lastFilters = {0},
prevFilters = {0};

struct RenderHook *renderhook;
struct RenderHook *podcastImageRenderHook;
Expand Down Expand Up @@ -84,7 +84,7 @@ void showGUI(void)
selectedMenu = MID_LAST;
uint16 code = 0;
BOOL done = FALSE;
struct filters lastPodcastFilters;
struct filters lastPodcastFilters = {0};

fillLeftSidebar();

Expand Down
2 changes: 1 addition & 1 deletion src/podcastfuncs.c
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ void playPodcast(struct Node *res_node)
IUtility->SNPrintf(startPlayerPath, sizeof(startPlayerPath), "%s/scripts/start_player", getFilePath((STRPTR)"PROGDIR:MediaVault"));
if (fileExists(startPlayerPath))
{
cmd = IUtility->ASPrintf("execute %s \"%s\" ", startPlayerPath, itemData->enclosureUrl);
cmd = IUtility->ASPrintf("execute \"%s\" \"%s\" ", startPlayerPath, itemData->enclosureUrl);
}
else
{
Expand Down
4 changes: 1 addition & 3 deletions src/radiofuncs.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ BOOL getRadioStations(struct filters lastFilters, int offset)
if (IUtility->Stricmp(lastFilters.country, ""))
{
STRPTR encSelCountry = urlEncode(lastFilters.country);
stringToLower(encSelCountry);

IUtility->Strlcat(url, "&country=", sizeof(url));
IUtility->Strlcat(url, encSelCountry, sizeof(url));
IExec->FreeVec(encSelCountry);
Expand Down Expand Up @@ -299,7 +297,7 @@ void playRadio(struct Node *res_node)
IUtility->SNPrintf(startPlayerPath, sizeof(startPlayerPath), "%s/scripts/start_player", getFilePath((STRPTR)"PROGDIR:MediaVault"));
if (fileExists(startPlayerPath))
{
cmd = IUtility->ASPrintf("execute %s \"%s\" ", startPlayerPath, itemData->url_resolved);
cmd = IUtility->ASPrintf("execute \"%s\" \"%s\" ", startPlayerPath, itemData->url_resolved);
}
else
{
Expand Down

0 comments on commit b6c0e82

Please sign in to comment.