mirror of
https://github.com/zoriya/Opus.git
synced 2025-12-06 06:26:15 +00:00
Solving some bugs and releasing v3.2.6
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
Version: 3.2.3
|
||||
Version: 3.2.6
|
||||
Beta: False
|
||||
Link: https://github.com/AnonymusRaccoon/Opus/releases/download/3.2.3/Opus.v3.2.3.apk
|
||||
Link: https://github.com/AnonymusRaccoon/Opus/releases/download/3.2.6/Opus.v3.2.6.apk
|
||||
|
||||
@@ -24,7 +24,7 @@ using Toolbar = Android.Support.V7.Widget.Toolbar;
|
||||
|
||||
namespace Opus.Fragments
|
||||
{
|
||||
[Activity(Label = "Settings", Theme = "@style/Theme")]
|
||||
[Activity(Label = "Settings", Theme = "@style/Theme", ScreenOrientation = ScreenOrientation.Portrait)]
|
||||
public class Preferences : AppCompatActivity
|
||||
{
|
||||
public static Preferences instance;
|
||||
|
||||
@@ -75,7 +75,7 @@ namespace Opus.Fragments
|
||||
{
|
||||
searching = true;
|
||||
SearchResource.ListRequest searchResult = youtubeService.Search.List("snippet");
|
||||
searchResult.Q = Query.Replace(" ", "+-");
|
||||
searchResult.Q = Query;
|
||||
searchResult.PageToken = nextPageToken;
|
||||
searchResult.TopicId = "/m/04rlf";
|
||||
switch (querryType)
|
||||
@@ -204,7 +204,7 @@ namespace Opus.Fragments
|
||||
try
|
||||
{
|
||||
SearchResource.ListRequest searchResult = youtubeService.Search.List("snippet");
|
||||
searchResult.Q = search.Replace(" ", "+-");
|
||||
searchResult.Q = search;
|
||||
searchResult.TopicId = "/m/04rlf";
|
||||
switch (querryType)
|
||||
{
|
||||
@@ -312,7 +312,8 @@ namespace Opus.Fragments
|
||||
switch (result.Id.Kind)
|
||||
{
|
||||
case "youtube#video":
|
||||
Song videoInfo = new Song(result.Snippet.Title, result.Snippet.ChannelTitle, result.Snippet.Thumbnails.High.Url, result.Id.VideoId, -1, -1, null, true, false);
|
||||
Console.WriteLine("&Name: " + result.Snippet.Title);
|
||||
Song videoInfo = new Song(System.Net.WebUtility.HtmlDecode(result.Snippet.Title), result.Snippet.ChannelTitle, result.Snippet.Thumbnails.High.Url, result.Id.VideoId, -1, -1, null, true, false);
|
||||
if (result.Snippet.LiveBroadcastContent == "live")
|
||||
videoInfo.IsLiveStream = true;
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.sdg.opus" android:installLocation="preferExternal" android:versionName="3.2.3" android:versionCode="33">
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.sdg.opus" android:installLocation="preferExternal" android:versionName="3.2.6" android:versionCode="36">
|
||||
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="28" />
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||
|
||||
Reference in New Issue
Block a user