Merge pull request #79 from sschueller/develop

Release v1.0.18
This commit is contained in:
Stefan Schüller 2018-12-31 09:25:47 +01:00 committed by GitHub
commit 9f20a38560
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 67 additions and 19 deletions

13
CHANGELOG.md Normal file
View File

@ -0,0 +1,13 @@
### Version 1.0.18 Tag: v1.0.18 (2018-12-31)
* Bug Fixes
* Arabic translation update
* Dependence update
### Version 1.0.17 Tag: v1.0.17 (2018-12-29)
* Replaced more buttons with fonts
* Translated app to Chinese. (@lishoujun)
### Version 1.0.16 Tag: v1.0.16 (2018-12-28)
* Fullscreen button
* Local Videos
* Bug Fixes

View File

@ -6,8 +6,8 @@ android {
applicationId "net.schueller.peertube" applicationId "net.schueller.peertube"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 28 targetSdkVersion 28
versionCode 1017 versionCode 1018
versionName "1.0.17" versionName "1.0.18"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
dependencies { dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
@ -26,18 +26,18 @@ android {
implementation 'com.mikepenz:fontawesome-typeface:5.3.1.1@aar' implementation 'com.mikepenz:fontawesome-typeface:5.3.1.1@aar'
// http client / REST // http client / REST
implementation 'com.squareup.okhttp3:okhttp:3.10.0' implementation 'com.squareup.okhttp3:okhttp:3.12.1'
implementation 'com.squareup.retrofit2:retrofit:2.3.0' implementation 'com.squareup.retrofit2:retrofit:2.5.0'
// image downloading and caching library // image downloading and caching library
implementation 'com.squareup.picasso:picasso:2.5.2' implementation 'com.squareup.picasso:picasso:2.5.2'
// json decoder/encoder // json decoder/encoder
implementation 'com.google.code.gson:gson:2.8.2' implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0' implementation 'com.squareup.retrofit2:converter-gson:2.5.0'
// Torrents and WebRTC // Torrents and WebRTC
implementation 'com.github.TorrentStream:TorrentStream-Android:2.5.0' implementation 'com.github.TorrentStream:TorrentStream-Android:2.6.1'
// implementation "com.github.TorrentStream:TorrentStreamServer-Android:1.0.1" // implementation "com.github.TorrentStream:TorrentStreamServer-Android:1.0.1"
// implementation 'org.webrtc:google-webrtc:1.0.+' // implementation 'org.webrtc:google-webrtc:1.0.+'

View File

@ -118,11 +118,13 @@ public class VideoPlayerService extends Service {
public void onDestroy() { public void onDestroy() {
Log.v(TAG, "onDestroy..."); Log.v(TAG, "onDestroy...");
if (playerNotificationManager != null) {
playerNotificationManager.setPlayer(null); playerNotificationManager.setPlayer(null);
}
if (player != null) {
player.release(); player.release();
player = null; player = null;
}
super.onDestroy(); super.onDestroy();
} }

View File

@ -1,4 +1,3 @@
<!-- File "app/src/main/res/values/strings.xml" -->
<resources> <resources>
<string name="app_name">PeerTube</string> <string name="app_name">PeerTube</string>
@ -36,8 +35,8 @@
<!-- Strings related to Video meta data --> <!-- Strings related to Video meta data -->
<string name="meta_data_seperator">\u0020-\u0020</string> <string name="meta_data_seperator">\0020-\0020</string>
<string name="meta_data_views">\u0020مشاهدات</string> <string name="meta_data_views">\0020مشاهدات</string>
<string name="meta_data_owner_seperator">\@</string> <string name="meta_data_owner_seperator">\@</string>
@ -45,9 +44,9 @@
<string name="video_row_account_avatar">الصورة الرمزية للحساب</string> <string name="video_row_account_avatar">الصورة الرمزية للحساب</string>
<string name="pref_title_show_nsfw">عرض NSFW</string> <string name="pref_title_show_nsfw">عرض NSFW</string>
<string name="pref_description_show_nsfw">عند التفعيل سيتم عرض محتويات NSFW</string> <string name="pref_description_show_nsfw">عند التنشيط سيتم عرض محتويات NSFW</string>
<string name="title_activity_url_video_play">UrlVideoPlayActivity</string> <string name="title_activity_url_video_play">UrlVideoPlayActivity</string>
<string name="pref_title_torrent_player">مشغل فديو التورنت</string> <string name="pref_title_torrent_player">مشغل فيديو التورنت</string>
<string name="pref_description_torrent_player">تشغيل الفيديو عبر بث التورنت . يتطلب هذا أذونات التخزين. (ألفا ، غير مستقر!)</string> <string name="pref_description_torrent_player">تشغيل الفيديو عبر بث التورنت . يتطلب هذا أذونات التخزين. (ألفا ، غير مستقر!)</string>
<string name="pref_title_license">الرخصة</string> <string name="pref_title_license">الرخصة</string>
<string name="pref_description_license"><b >GNU Affero General Public License v3.0</b>\n <string name="pref_description_license"><b >GNU Affero General Public License v3.0</b>\n
@ -60,5 +59,39 @@
<string name="descr_overflow_button">المزيد</string> <string name="descr_overflow_button">المزيد</string>
<string name="menu_share">مشاركة</string> <string name="menu_share">مشاركة</string>
<string name="playback_channel_name">PeerTube</string> <string name="playback_channel_name">PeerTube</string>
<string name="invalid_url">الرابط غير صالح!</string>
<string name="pref_title_dark_mode">الوضع الداكن</string>
<string name="pref_description_dark_mode">أعد تشغيل التطبيق لتنشيط الوضع الداكن.</string>
<string name="pref_title_app_theme">مظهر التطبيق</string>
<string name="pref_description_app_theme">أعد تشغيل التطبيق لتفعيل التعديلات التي طرأت على المظهر.</string>
<string name="red">أحمر</string>
<string name="pink">وردي</string>
<string name="purple">بنفسجي</string>
<string name="deeppurple">بنفسجي قاتم</string>
<string name="indigo">نيلي</string>
<string name="blue">أزرق</string>
<string name="lightblue">أزرق فاتح</string>
<string name="cyan">سماوي</string>
<string name="teal">أزرق مُخضرّ</string>
<string name="green">أخضر</string>
<string name="lightgreen">أخضر فاتح</string>
<string name="lime">جيري</string>
<string name="yellow">أصفر</string>
<string name="amber">كهرماني</string>
<string name="orange">برتقالي</string>
<string name="deeporange">برتقالي قاتم</string>
<string name="brown">قهوي</string>
<string name="gray">رمادي</string>
<string name="bluegray">أزرق رمادي</string>
<string name="video_speed_05">0.5x</string>
<string name="video_speed_10">عادي</string>
<string name="video_speed_15">1.5x</string>
<string name="video_speed_20">2x</string>
<string name="pref_title_background_play">التشغيل في الخلفية</string>
<string name="pref_description_background_play">إن تم تنشيطه، ستواصل الفيديو في الإشتغال في الخلفية.</string>
<string name="bottom_nav_title_local">المحلي</string>
</resources> </resources>