From 477355db8f47945bc5d844f0d83701d66c018518 Mon Sep 17 00:00:00 2001 From: Prashant Khurana Date: Sun, 1 May 2016 21:46:25 -0400 Subject: [PATCH 1/3] Added media volume control on main screen Fixes #38 --- .../main/java/org/schabi/newpipe/VideoItemListActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/VideoItemListActivity.java b/app/src/main/java/org/schabi/newpipe/VideoItemListActivity.java index 0405021be..66b19d114 100644 --- a/app/src/main/java/org/schabi/newpipe/VideoItemListActivity.java +++ b/app/src/main/java/org/schabi/newpipe/VideoItemListActivity.java @@ -3,6 +3,7 @@ package org.schabi.newpipe; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; +import android.media.AudioManager; import android.os.Bundle; import android.os.Handler; import android.preference.PreferenceManager; @@ -215,8 +216,7 @@ public class VideoItemListActivity extends AppCompatActivity ErrorActivity.ErrorInfo.make(ErrorActivity.SEARCHED, ServiceList.getNameOfService(currentStreamingServiceId), "", R.string.general_error)); } - //----------------------------------------------------------------------------- - //to solve issue 38 + setVolumeControlStream(AudioManager.STREAM_MUSIC); listFragment = (VideoItemListFragment) getSupportFragmentManager() .findFragmentById(R.id.videoitem_list); listFragment.setStreamingService(streamingService); From be1252e0e68a9eb4abb7798f862ea73dc115f487 Mon Sep 17 00:00:00 2001 From: Licaon Kter Date: Tue, 10 May 2016 13:13:05 +0200 Subject: [PATCH 2/3] Translated using Weblate (Romanian) Currently translated at 64.8% (70 of 108 strings) --- app/src/main/res/values-ro/strings.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/values-ro/strings.xml b/app/src/main/res/values-ro/strings.xml index 9c35c882f..016e04a58 100644 --- a/app/src/main/res/values-ro/strings.xml +++ b/app/src/main/res/values-ro/strings.xml @@ -11,7 +11,7 @@ Descărcare Căutare Setări - "V-ați referit la: " + V-ați referit la: %1$s ? "Pagina de căutare: " Partajează cu Alegeți browser-ul @@ -25,12 +25,12 @@ Introduceți locul în care se vor descărca videoclipurile Descărcați calea audio-ului - Locul în care se vor stoca fișierele audio descărcate. + Locul în care se vor stoca fișierele audio descărcate Introduceți calea de descărcare pentru fișierele audio. Redare automată intenționată Redați automat un videoclip atunci când este chemat din altă aplicație. - Rezoluție de bază + Rezoluție implicită Redați folosind Kodi Aplicația Kore nu a fost găsită. Instalați Kore? Arată opțiunea \"Redați folosind Kodi\" From 7154a1edb8062b99925ff2f4c7bb5683f2a8eb81 Mon Sep 17 00:00:00 2001 From: Prashant Khurana Date: Sun, 15 May 2016 22:20:28 -0400 Subject: [PATCH 3/3] Fix to hide uploader correctly --- .../java/org/schabi/newpipe/VideoInfoItemViewCreator.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/VideoInfoItemViewCreator.java b/app/src/main/java/org/schabi/newpipe/VideoInfoItemViewCreator.java index baeaef813..c12b2745c 100644 --- a/app/src/main/java/org/schabi/newpipe/VideoInfoItemViewCreator.java +++ b/app/src/main/java/org/schabi/newpipe/VideoInfoItemViewCreator.java @@ -6,12 +6,12 @@ import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; -import org.schabi.newpipe.extractor.AbstractVideoInfo; -import org.schabi.newpipe.extractor.StreamPreviewInfo; - import com.nostra13.universalimageloader.core.DisplayImageOptions; import com.nostra13.universalimageloader.core.ImageLoader; +import org.schabi.newpipe.extractor.AbstractVideoInfo; +import org.schabi.newpipe.extractor.StreamPreviewInfo; + /** * Created by Christian Schabesberger on 24.10.15. * @@ -72,7 +72,7 @@ public class VideoInfoItemViewCreator { if(info.uploader != null && !info.uploader.isEmpty()) { holder.itemUploaderView.setText(info.uploader); } else { - holder.itemDurationView.setVisibility(View.INVISIBLE); + holder.itemUploaderView.setVisibility(View.INVISIBLE); } if(info.duration > 0) { holder.itemDurationView.setText(getDurationString(info.duration));