feat: add track selection to downloader
This commit is contained in:
parent
486488cf78
commit
bc2add7828
6 changed files with 363 additions and 58 deletions
|
|
@ -71,11 +71,45 @@
|
|||
android:minWidth="150dp"
|
||||
tools:listitem="@layout/stream_quality_item" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/audio_track_spinner"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/quality_spinner"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:layout_marginBottom="12dp"
|
||||
android:minWidth="150dp"
|
||||
tools:visibility="gone" />
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/audio_stream_spinner"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/audio_track_spinner"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:layout_marginBottom="12dp"
|
||||
android:minWidth="150dp"
|
||||
tools:visibility="gone" />
|
||||
|
||||
<org.schabi.newpipe.views.NewPipeTextView
|
||||
android:id="@+id/default_audio_track_present_text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/audio_stream_spinner"
|
||||
android:layout_marginLeft="24dp"
|
||||
android:layout_marginRight="24dp"
|
||||
android:layout_marginBottom="12dp"
|
||||
android:gravity="center"
|
||||
android:text="@string/default_audio_track_present"
|
||||
android:textSize="12sp" />
|
||||
|
||||
<org.schabi.newpipe.views.NewPipeTextView
|
||||
android:id="@+id/threads_text_view"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/quality_spinner"
|
||||
android:layout_below="@+id/default_audio_track_present_text"
|
||||
android:layout_marginLeft="24dp"
|
||||
android:layout_marginRight="24dp"
|
||||
android:layout_marginBottom="6dp"
|
||||
|
|
|
|||
|
|
@ -764,6 +764,7 @@
|
|||
<string name="enumeration_comma">,</string>
|
||||
<string name="toggle_all">Toggle all</string>
|
||||
<string name="streams_not_yet_supported_removed">Streams which are not yet supported by the downloader are not shown</string>
|
||||
<string name="default_audio_track_present">The default audio track should be already present in this stream</string>
|
||||
<string name="selected_stream_external_player_not_supported">The selected stream is not supported by external players</string>
|
||||
<string name="no_audio_streams_available_for_external_players">No audio streams are available for external players</string>
|
||||
<string name="no_video_streams_available_for_external_players">No video streams are available for external players</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue