-
-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #160 from halsafar/v1.16.3-fixes
V1.16.3 fixes
- Loading branch information
Showing
7 changed files
with
86 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
SongBrowser | ||
|
||
6.1.7 | ||
6.2.1 | ||
|
||
[email protected],[email protected] | ||
[email protected],[email protected], [email protected],[email protected],BS [email protected] | ||
|
||
Adds various sorting and filtering methods to the UI. Search, favorites, ranked, and unranked filters. Sort by BeatSaver and ScoreSaber statistics. Adds PP and other extra stats to the stat panel. | ||
|
||
|
@@ -12,9 +12,11 @@ https://github.com/halsafar/BeatSaberSongBrowser | |
**Mod**: SongBrowser v6.1.6 | ||
**Dependencies**: SongCore, BSLM, SongDataCore | ||
**Changelog**: | ||
- Compatibility with PlaylistManager! | ||
- Add new sort methods: BPM, Duration. | ||
- Fix a few rare causes of exceptions. | ||
**Looking For**: | ||
- We are hoping to shake out any compatiblity issues PlaylistManager. | ||
- Improved support with PlaylistManager and BeatSaberPlaylistLib (Thanks PixelBoom). | ||
- BeatSaver song key is now checked against search terms. | ||
- Prevent scrolling to top of list when adding/removing favorites in all level categories except Favorites. | ||
- Fix deleting a song when viewing a Playlist. | ||
- Filter by mod requirements (thanks @Meivyn ) | ||
**Download**: | ||
- https://github.com/halsafar/BeatSaberSongBrowser/releases/tag/6.2.0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
SongBrowserPlugin/HarmonyPatches/FlowCoordinator_PresentFlowCoordinator.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
| ||
using HarmonyLib; | ||
using HMUI; | ||
using System; | ||
using Logger = SongBrowser.Logging.Logger; | ||
|
||
namespace SongBrowser.HarmonyPatches | ||
{ | ||
[HarmonyPatch(typeof(FlowCoordinator))] | ||
[HarmonyPatch("PresentFlowCoordinator", MethodType.Normal)] | ||
class FlowCoordinator_PresentFlowCoordinator | ||
{ | ||
static void Postfix(FlowCoordinator flowCoordinator, Action finishedCallback = null, ViewController.AnimationDirection animationDirection = ViewController.AnimationDirection.Horizontal, bool immediately = false, bool replaceTopViewController = false) | ||
{ | ||
var flowType = flowCoordinator.GetType(); | ||
if (flowType == typeof(SoloFreePlayFlowCoordinator)) | ||
{ | ||
Logger.Info("Initializing SongBrowser for Single Player Mode"); | ||
SongBrowser.SongBrowserApplication.Instance.HandleSoloModeSelection(); | ||
} | ||
else if (flowType == typeof(MultiplayerLevelSelectionFlowCoordinator)) | ||
{ | ||
Logger.Info("Initializing SongBrowser for Multiplayer Mode"); | ||
SongBrowser.SongBrowserApplication.Instance.HandleMultiplayerModeSelection(); | ||
} | ||
else if (flowType == typeof(PartyFreePlayFlowCoordinator)) | ||
{ | ||
Logger.Info("Initializing SongBrowser for Party Mode"); | ||
SongBrowser.SongBrowserApplication.Instance.HandlePartyModeSelection(); | ||
} | ||
else if (flowType == typeof(CampaignFlowCoordinator)) | ||
{ | ||
Logger.Info("Initializing SongBrowser for Multiplayer Mode"); | ||
SongBrowser.SongBrowserApplication.Instance.HandleCampaignModeSelection(); | ||
} | ||
|
||
return; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters