Solving some bugs and releasing v3.2.6

This commit is contained in:
Tristan Roux
2019-04-24 11:11:22 +02:00
parent ffc2a94364
commit ac7b3b21b2
4 changed files with 8 additions and 7 deletions

View File

@@ -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

View File

@@ -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;

View File

@@ -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;

View File

@@ -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" />