Skip to content

Commit

Permalink
Update for release of version 5.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
arvkmr committed Jul 29, 2024
1 parent dabf00f commit 186e41e
Show file tree
Hide file tree
Showing 27 changed files with 4,406 additions and 4,177 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
- v5.6.1
- Added Bulk station search. See searchForStationsByMetadata() for more details.

- v5.6.0
- Added new method `setStreamingFor()` for mocking different locations for testing.
- Depreciate `setMockLocation()`. This method will be removed in a future update.
Expand Down
2 changes: 1 addition & 1 deletion FeedMedia.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |s|
s.name = "FeedMedia"
s.version = "5.6.0"
s.version = "5.6.1"
s.summary = "FeedMedia SDK for Internet radio streaming"
s.description = <<-DESC
Feed.fm allows you to legally add popular music to your mobile app with a Pandora-style
Expand Down
16 changes: 8 additions & 8 deletions FeedMedia.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,34 @@
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>FeedMedia.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
<string>FeedMedia.framework/FeedMedia</string>
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>tvos-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>FeedMedia.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<string>tvos</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>BinaryPath</key>
Expand All @@ -61,7 +61,7 @@
<key>DebugSymbolsPath</key>
<string>dSYMs</string>
<key>LibraryIdentifier</key>
<string>tvos-arm64_x86_64-simulator</string>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>FeedMedia.framework</string>
<key>SupportedArchitectures</key>
Expand All @@ -70,7 +70,7 @@
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>tvos</string>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
Expand Down
Binary file modified FeedMedia.xcframework/ios-arm64/FeedMedia.framework/FeedMedia
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,62 @@ typedef NS_ENUM(NSInteger, FMMixingAudioPlayerCompletionReason) {
withCallback:(nonnull void (^)(NSDictionary* _Nonnull)) onSearchCompleted;

/**
* Search for stations
*
* Search for multiple stations, this is equivalent to an OR search. This endpoint only searches in station options/metadata.
*
* @param metaData A search query in that uses mongodb query syntax for $or or $in
*
* If you want to select stations where uuid is 1234 OR 5678 you should use the $in operator
*
* ```$in```: match if the station's value is in the array of values
*
* example query: ```{ uuid: { $in: [ "abc123", "def456" ] } }```
*
* The $or operator should be used for when you want to use OR for different attributes like
* select station where uuid is 1234 OR station_name is "Rock"
*
*
* ```$or```: match if any of the conditions are true
* example query: ```{ $or: [{ uuid: "abc123" }, { type: "first play" }] }```
*
* The value should be passed in as a Map
* example:
* ```
* NSDictionary *map = @{
* @"$or": @[
* @{@"uuid": @"0213221230"},
* @{@"BPM": @"125"}
* ]
* };
* ```
* The above query will return all stations that have uuid of "0213221230" or have a BPM parameter of '125'
* example 2:
* ```
* NSDictionary *map2 = @{
* @"uuid": @{
* @"$in": @[
* @"0213221230",
* @"071422800"
* ]
* }
* };
* ```
*
* The above query will return all stations that have uuid of "0213221230" or "071422800"
*
*
* @param pageNo result page no
* @param perPage No of results per page
* @param onSearchCompleted callback block
*/
- (void)searchForStationsByMetadata:(nonnull NSDictionary *)metaData
pageNo:(nonnull NSNumber *)pageNo
perPage:(nonnull NSNumber *)perPage
withCallback:(nonnull void (^)( NSDictionary* _Nonnull )) onSearchCompleted;


/**
* Search for stations. This performs an AND search by default
* @param metaData metadata search in station metadata for key pair values. All key pairs much match for a positive hit.
* @param pageNo result page no
* @param perPage No of results per page
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Copyright © 2017 Feed Media. All rights reserved.
//

#define FEED_MEDIA_CLIENT_VERSION @"5.6.0"
#define FEED_MEDIA_CLIENT_VERSION @"5.6.1"

// All public headers

Expand Down
Binary file not shown.
Loading

0 comments on commit 186e41e

Please sign in to comment.