Solving some bugs and releasing v3.3.4

This commit is contained in:
Tristan Roux
2019-04-30 11:27:44 +02:00
parent 6db5ac6b25
commit 8e129d04d0
5 changed files with 17 additions and 15 deletions

View File

@@ -1,3 +1,3 @@
Version: 3.3.0
Beta: True
Link: https://github.com/AnonymusRaccoon/Opus/releases/download/3.3.0/Opus.v3.3.0.apk
Version: 3.3.4
Beta: False
Link: https://github.com/AnonymusRaccoon/Opus/releases/download/3.3.4/Opus.v3.3.4.apk

View File

@@ -19,9 +19,14 @@ namespace Opus.Others
int size = (int)(source.Width * 0.5625f);
int x = (int)(source.Width * 0.21875f); //(source.Width - source.Width * 0.5625f) / 2 = source.Width * (1 - 0.5625) / 2
int y = (source.Height - size) / 2;
Bitmap bitmap = Bitmap.CreateBitmap(source, x, y, size, size);
source.Recycle();
return bitmap;
if (size > 0)
{
Bitmap bitmap = Bitmap.CreateBitmap(source, x, y, size, size);
source.Recycle();
return bitmap;
}
else
return source;
}
else
{

View File

@@ -142,9 +142,7 @@ namespace Opus.Fragments
if(playlists != null)
{
(List<PlaylistItem> pl, List<PlaylistItem> sp) = await PlaylistManager.ProcessSyncedPlaylists(playlists);
Console.WriteLine("&sp count before: " + sp.Count);
List<PlaylistItem> saved = await PlaylistManager.GetSavedYoutubePlaylists(sp, null);
Console.WriteLine("&sp count afer: " + sp.Count);
sp.AddRange(saved);
sp.AddRange(pl);

View File

@@ -44,7 +44,7 @@
<EnableLLVM>false</EnableLLVM>
<BundleAssemblies>false</BundleAssemblies>
<Debugger>Xamarin</Debugger>
<AndroidSupportedAbis>armeabi-v7a;x86</AndroidSupportedAbis>
<AndroidSupportedAbis>armeabi-v7a;x86;x86_64;arm64-v8a</AndroidSupportedAbis>
<AndroidEnableMultiDex>true</AndroidEnableMultiDex>
<JavaMaximumHeapSize>1G</JavaMaximumHeapSize>
<EnableProguard>false</EnableProguard>
@@ -65,9 +65,10 @@
<EnableLLVM>false</EnableLLVM>
<BundleAssemblies>false</BundleAssemblies>
<EnableProguard>false</EnableProguard>
<AndroidSupportedAbis>armeabi-v7a;x86</AndroidSupportedAbis>
<AndroidEnableMultiDex>false</AndroidEnableMultiDex>
<AndroidSupportedAbis>armeabi-v7a;x86;x86_64;arm64-v8a</AndroidSupportedAbis>
<AndroidEnableMultiDex>true</AndroidEnableMultiDex>
<AndroidCreatePackagePerAbi>false</AndroidCreatePackagePerAbi>
<JavaMaximumHeapSize>1G</JavaMaximumHeapSize>
</PropertyGroup>
<ItemGroup>
<Reference Include="AngleSharp, Version=0.9.9.0, Culture=neutral, PublicKeyToken=e83494dcdc6d31ea, processorArchitecture=MSIL">
@@ -402,9 +403,6 @@
</ItemGroup>
<ItemGroup>
<None Include="app.config" />
<ProguardConfiguration Include="proguard.cfg">
<SubType>Designer</SubType>
</ProguardConfiguration>
<None Include="packages.config">
<SubType>Designer</SubType>
</None>

View File

@@ -1,10 +1,11 @@
<?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.3.0" android:versionCode="40">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.sdg.opus" android:installLocation="preferExternal" android:versionName="3.3.4" android:versionCode="44">
<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" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
<uses-permission android:name="android.permission.INTERNET" />
<application android:allowBackup="true" android:label="Opus" android:icon="@drawable/Icon">
<meta-data android:name="com.google.android.gms.cast.framework.OPTIONS_PROVIDER_CLASS_NAME" android:value="Opus.CastProvider" />
<provider android:name="android.support.v4.content.FileProvider" android:authorities="${applicationId}.provider" android:exported="false" android:grantUriPermissions="true">