aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/res
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-07-08 07:33:49 -0700
committerScott Jackson <daneren2005@gmail.com>2013-07-08 07:33:49 -0700
commit5ae2ee8cd070f837ec677664c6bdafa69dac70d3 (patch)
treed29ff43678f7fa069879fac8227d2ab8189dbc9e /subsonic-android/res
parent3354beae4cccd747b3728b246dab6b0476491ea2 (diff)
downloaddsub-5ae2ee8cd070f837ec677664c6bdafa69dac70d3.tar.gz
dsub-5ae2ee8cd070f837ec677664c6bdafa69dac70d3.tar.bz2
dsub-5ae2ee8cd070f837ec677664c6bdafa69dac70d3.zip
Add other Podcast methods
Diffstat (limited to 'subsonic-android/res')
-rw-r--r--subsonic-android/res/layout/create_podcast.xml27
-rw-r--r--subsonic-android/res/menu/select_podcasts.xml5
-rw-r--r--subsonic-android/res/menu/select_podcasts_context.xml9
-rw-r--r--subsonic-android/res/values/strings.xml8
4 files changed, 48 insertions, 1 deletions
diff --git a/subsonic-android/res/layout/create_podcast.xml b/subsonic-android/res/layout/create_podcast.xml
new file mode 100644
index 00000000..5a2ec970
--- /dev/null
+++ b/subsonic-android/res/layout/create_podcast.xml
@@ -0,0 +1,27 @@
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content">
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content">
+
+ <TextView
+ android:id="@+id/create_podcast_url_label"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="4dp"
+ android:textSize="20dp"
+ android:text="@string/select_podcasts.add_url"/>
+ <EditText
+ android:id="@+id/create_podcast_url"
+ android:inputType="textUri"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:layout_weight="1"
+ android:layout_marginLeft="4dp"
+ android:text="http://"/>
+ </LinearLayout>
+</LinearLayout> \ No newline at end of file
diff --git a/subsonic-android/res/menu/select_podcasts.xml b/subsonic-android/res/menu/select_podcasts.xml
index eea03827..e77b43db 100644
--- a/subsonic-android/res/menu/select_podcasts.xml
+++ b/subsonic-android/res/menu/select_podcasts.xml
@@ -7,6 +7,11 @@
android:showAsAction="always|withText"/>
<item
+ android:id="@+id/menu_add_podcast"
+ android:icon="@drawable/action_exit"
+ android:title="@string/menu.add_podcast"/>
+
+ <item
android:id="@+id/menu_check"
android:icon="@drawable/action_refresh"
android:title="@string/menu.check_podcasts"/>
diff --git a/subsonic-android/res/menu/select_podcasts_context.xml b/subsonic-android/res/menu/select_podcasts_context.xml
new file mode 100644
index 00000000..af4edb55
--- /dev/null
+++ b/subsonic-android/res/menu/select_podcasts_context.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<menu xmlns:android="http://schemas.android.com/apk/res/android">
+ <item
+ android:id="@+id/podcast_channel_info"
+ android:title="@string/common.info"/>
+ <item
+ android:id="@+id/podcast_channel_delete"
+ android:title="@string/common.delete"/>
+</menu> \ No newline at end of file
diff --git a/subsonic-android/res/values/strings.xml b/subsonic-android/res/values/strings.xml
index f67dd9fe..e02383b0 100644
--- a/subsonic-android/res/values/strings.xml
+++ b/subsonic-android/res/values/strings.xml
@@ -71,7 +71,8 @@
<string name="menu.deleted_playlist_error">Failed to delete playlist %s</string>
<string name="menu.log">Send Log</string>
<string name="menu.set_timer">Set Timer</string>
- <string name="menu.check_podcasts">Request Server Refresh</string>
+ <string name="menu.check_podcasts">Check For New Episodes</string>
+ <string name="menu.add_podcast">Add Channel</string>
<string name="playlist.label">Playlists</string>
<string name="playlist.update_info">Update Information</string>
@@ -139,6 +140,11 @@
<string name="select_podcasts.server_delete">Delete from server</string>
<string name="select_podcasts.downloading">Now downloading %s on the server</string>
<string name="select_podcasts.refreshing">The server is checking for new podcasts now</string>
+ <string name="select_podcasts.deleted">Deleted podcast %s</string>
+ <string name="select_podcasts.deleted_error">Failed to delete podcast %s</string>
+ <string name="select_podcasts.add_url">URL:</string>
+ <string name="select_podcasts.created_error">Failed to add podcast</string>
+ <string name="select_podcasts.invalid_podcast_channel">Invalid podcast channel: %s</string>
<string name="select_playlist.empty">No saved playlists on server</string>