Skip to content

Commit

Permalink
Missed in commit
Browse files Browse the repository at this point in the history
  • Loading branch information
daneren2005 committed Jul 27, 2013
1 parent 4738428 commit fc19957
Show file tree
Hide file tree
Showing 363 changed files with 29,761 additions and 0 deletions.
148 changes: 148 additions & 0 deletions AndroidManifest.xml
@@ -0,0 +1,148 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="github.daneren2005.dsub"
android:installLocation="internalOnly"
android:versionCode="59"
android:versionName="4.1.2">

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.RECORD_AUDIO"/>
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/>
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.READ_LOGS"/>

<uses-feature android:name="android.hardware.bluetooth" android:required="false" />
<uses-feature android:name="android.hardware.microphone" android:required="false" />

<uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17"/>

<supports-screens android:anyDensity="true" android:xlargeScreens="true" android:largeScreens="true" android:normalScreens="true" android:smallScreens="true"/>

<application android:label="@string/common.appname"
android:backupAgent="github.daneren2005.dsub.util.SettingsBackupAgent"
android:icon="@drawable/launch2"
android:theme="@style/Theme.DSub.Holo">

<activity android:name="github.daneren2005.dsub.activity.MainActivity"
android:label="DSub"
android:configChanges="orientation|keyboardHidden"
android:launchMode="standard">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>

<activity android:name="github.daneren2005.dsub.activity.SearchActivity"
android:label="@string/search.label"
android:configChanges="orientation|keyboardHidden"
android:launchMode="singleTask"/>

<activity android:name="github.daneren2005.dsub.activity.DownloadActivity"
android:configChanges="keyboardHidden"
android:launchMode="singleTask"/>

<activity android:name="github.daneren2005.dsub.activity.SettingsActivity"
android:theme="@style/Theme.DSub.Dark"
android:configChanges="orientation|keyboardHidden"
android:launchMode="singleTask"/>

<activity android:name="github.daneren2005.dsub.activity.HelpActivity"
android:label="@string/help.label"
android:launchMode="singleTask"/>

<activity android:name="github.daneren2005.dsub.activity.EqualizerActivity"
android:label="@string/equalizer.label"
android:configChanges="orientation|keyboardHidden"
android:launchMode="singleTask"/>

<activity android:name="github.daneren2005.dsub.activity.VoiceQueryReceiverActivity"
android:launchMode="singleTask">
<intent-filter>
<action android:name="android.media.action.MEDIA_PLAY_FROM_SEARCH" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>

<activity android:name="github.daneren2005.dsub.activity.QueryReceiverActivity"
android:launchMode="singleTask">
<intent-filter>
<action android:name="android.intent.action.SEARCH"/>
</intent-filter>
<meta-data android:name="android.app.searchable" android:resource="@xml/searchable"/>
</activity>

<service android:name="github.daneren2005.dsub.service.DownloadServiceImpl"
android:label="Subsonic Download Service"/>

<receiver android:name="github.daneren2005.dsub.receiver.MediaButtonIntentReceiver">
<intent-filter android:priority="999">
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>
</receiver>

<receiver android:name="github.daneren2005.dsub.receiver.BluetoothIntentReceiver">
<intent-filter>
<action android:name="android.bluetooth.a2dp.action.SINK_STATE_CHANGED"/>
<action android:name="android.bluetooth.headset.profile.action.CONNECTION_STATE_CHANGED"/> <!-- API Level 11 -->
<action android:name="android.bluetooth.device.action.ACL_CONNECTED"/>
<action android:name="android.bluetooth.device.action.ACL_DISCONNECTED"/>
</intent-filter>
</receiver>

<receiver android:name="github.daneren2005.dsub.receiver.A2dpIntentReceiver">
<intent-filter>
<action android:name="android.music.playstatusrequest"/>
</intent-filter>
</receiver>

<receiver
android:name="github.daneren2005.dsub.provider.DSubWidget4x1"
android:label="@string/widget.4x1">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget4x1"/>
</receiver>
<receiver
android:name="github.daneren2005.dsub.provider.DSubWidget4x2"
android:label="@string/widget.4x2">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget4x2"/>
</receiver>
<receiver
android:name="github.daneren2005.dsub.provider.DSubWidget4x3"
android:label="@string/widget.4x3">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget4x3"/>
</receiver>
<receiver
android:name="github.daneren2005.dsub.provider.DSubWidget4x4"
android:label="@string/widget.4x4">
<intent-filter>
<action android:name="android.appwidget.action.APPWIDGET_UPDATE"/>
</intent-filter>
<meta-data android:name="android.appwidget.provider" android:resource="@xml/appwidget4x4"/>
</receiver>

<provider android:name="github.daneren2005.dsub.provider.DSubSearchProvider"
android:authorities="github.daneren2005.dsub.provider.DSubSearchProvider"/>

<meta-data android:name="android.app.default_searchable"
android:value="github.daneren2005.dsub.activity.QueryReceiverActivity"/>

<meta-data android:name="com.google.android.backup.api_key"
android:value="AEdPqrEAAAAIUhOMtwa_eG-f0oYUHnetl_Cz7cO9zae8ZXOK5w"/>

</application>

</manifest>
21 changes: 21 additions & 0 deletions Subsonic.iml
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="android" name="Android">
<configuration />
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/gen" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="libs1" level="project" />
<orderEntry type="module" module-name="ActionBarSherlock" />
<orderEntry type="module" module-name="DragSortListView" />
</component>
</module>

20 changes: 20 additions & 0 deletions ant.properties
@@ -0,0 +1,20 @@
# This file is used to override default values used by the Ant build system.
#
# This file must be checked in Version Control Systems, as it is
# integral to the build system of your project.

# This file is only used by the Ant script.

# You can use this to override default values such as
# 'source.dir' for the location of your java source folder and
# 'out.dir' for the location of your output folder.

# You can also use it define how the release builds are signed by declaring
# the following properties:
# 'key.store' for the location of your keystore and
# 'key.alias' for the name of the key to use.
# The password will be asked during the build when you use the 'release' target.

key.store=C:/Users/Scott/Documents/Subsonic/subsonic-android/subsonic.keystore
key.alias=subsonic

Binary file added assets/fonts/Storopia.ttf
Binary file not shown.
98 changes: 98 additions & 0 deletions assets/html/en/index.html
@@ -0,0 +1,98 @@
<html>
<head>
<title>DSub Help</title>
<link rel="stylesheet" href="../style.css" type="text/css">

</head>

<body>

<h3><img src="../img/subsonic.png" alt=""> Welcome to DSub!</h3>

<p>
With <b>DSub</b> you can easily stream or download music from your home computer to your Android phone
(and do lots of other cool stuff too).
</p>

<p>
To install the Subsonic server software on your computer, please visit <a href="http://subsonic.org">subsonic.org</a>.
It's available for Windows, Mac, Linux and Unix.
</p>

<p>
By default, this program is configured to use the <b>Subsonic demo server</b>. Once you've set up your own
server, please go to <b>Settings</b> and change the configuration so that it connects to your own computer.
</p>

<p>
You can use this program freely for 30 days. After that you will have to make a donation to the Subsonic project.
As a donor you get the following benefits:
</p>
<ul>
<li>Unlimited streaming and download to any number of iPhone and Android phones.</li>
<li>Video streaming.</li>
<li>A personal web address for your Subsonic server (<em>yourname</em>.subsonic.org).</li>
<li>No ads in the Subsonic web interface.</li>
<li>Free access to new premium features.</li>
</ul>

<p>
The suggested donation amount is <b>&euro;20</b>, but you can give any amount you like.
</p>

<p>
Click one of the buttons to go to PayPal where you can pay by credit card or by using your PayPal account.
Once the donation is processed, you will receive a license key by email.
</p>

<table>
<tr>
<td style="border:none;">
<table>
<tr>
<td style="border:none;padding:0;padding:0"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3RTGWJRNAW2PU"><img src="../img/paypal.gif" alt=""/></a> </td>
</tr>
<tr>
<td style="text-align:center;border:none;padding:0">&euro;10</td>
</tr>
</table>
</td>
<td style="border:none;">
<table>
<tr>
<td style="border:none;padding:0"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UCUUB2TYE4PGN"><img src="../img/paypal.gif" alt=""/></a> </td>
</tr>
<tr>
<td style="text-align:center;border:none;padding:0">&euro;20</td>
</tr>
</table>
</td>
<td style="border:none;">
<table>
<tr>
<td style="border:none;padding:0"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3M6TFHWEPSU44"><img src="../img/paypal.gif" alt=""/></a> </td>
</tr>
<tr>
<td style="text-align:center;border:none;padding:0">&euro;25</td>
</tr>
</table>
</td>
<td style="border:none;">
<table>
<tr>
<td style="border:none;padding:0"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5KP7LPQU77UAS"><img src="../img/paypal.gif" alt=""/></a> </td>
</tr>
<tr>
<td style="text-align:center;border:none;padding:0">&euro;30</td>
</tr>
</table>
</td>
</tr>
</table>

<p>
For more information, please visit <a href="http://subsonic.org/">subsonic.org</a>
</p>

</body>
</html>
100 changes: 100 additions & 0 deletions assets/html/fr/index.html
@@ -0,0 +1,100 @@
<html>
<head>
<title>Aide de Subsonic</title>
<link rel="stylesheet" href="../style.css" type="text/css">

</head>

<body>

<h3><img src="../img/subsonic.png" alt=""> Bienvenue dans Subsonic</h3>

<p>
Avec <b>Subsonic</b>, vous pouvez facilement &eacute;couter ou t&eacute;l&eacute;charger de la musique &agrave; partir de votre ordinateur personnel sur votre appareil Android
(et faire plein d'autres trucs cools aussi).
</p>

<p>
Pour installer le serveur Subsonic sur votre ordinateur, veuillez visiter <a href="http://subsonic.org">subsonic.org</a>.
Celui-ci est disponible pour Windows, Mac, Linux et Unix.
</p>

<p>
Par d&eacute;faut, cette application est configur&eacute; pour utiliser le <b>serveur d&eacute;mo Subsonic</b>.
Apr&egrave;s avoir configur&eacute; votre serveur personnel, veuillez acc&eacute;der aux <b>Param&egrave;tres</b> et modifier la configuration
afin de vous connecter &agrave; votre propre ordinateur.
</p>

<p>
Vous pouvez utiliser cette application gratuitement pendant 30 jours.
Ensuite, vous devrez effectuer un don au projet Subsonic.
En tant que donateur, vous obtiendrez les b&eacute;n&eacute;fices suivants:
</p>
<ul>
<li>&Eacute;coute et t&eacute;l&eacute;chargement illimit&eacute;s vers autant de iPhones et d'appareils Android que d&eacute;sir&eacute;.</li>
<li>&Eacute;coute de vid&eacute;os.</li>
<li>Une adresse web personnalis&eacute;e pour votre serveur Subsonic (<em>votrenom</em>.subsonic.org).</li>
<li>Aucune publicit&eacute; dans l'interface web de Subsonic.</li>
<li>Acc&egrave;s gratuit aux nouvelles fonctionnalit&eacute;s avanc&eacute;es.</li>
</ul>

<p>
Le montant sugg&eacute;r&eacute; pour le don est de <b>20&euro;</b>, mais n'importe quel montant fera l'affaire.
</p>

<p>
Cliquez l'un des boutons suivants pour acc&eacute;der &agrave; PayPal, d'o&ugrave; vous pourrez payer soit par carte de cr&eacute;dit ou en utilisant votre compte PayPal.
Une fois le don re&ccedil;u et trait&eacute;, vous recevrez votre cl&eacute; d'activation par courriel.
</p>

<table>
<tr>
<td style="border:none;">
<table>
<tr>
<td style="border:none;padding:0;padding:0"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3RTGWJRNAW2PU"><img src="../img/paypal.gif" alt=""/></a> </td>
</tr>
<tr>
<td style="text-align:center;border:none;padding:0">10&euro;</td>
</tr>
</table>
</td>
<td style="border:none;">
<table>
<tr>
<td style="border:none;padding:0"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=UCUUB2TYE4PGN"><img src="../img/paypal.gif" alt=""/></a> </td>
</tr>
<tr>
<td style="text-align:center;border:none;padding:0">20&euro;</td>
</tr>
</table>
</td>
<td style="border:none;">
<table>
<tr>
<td style="border:none;padding:0"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3M6TFHWEPSU44"><img src="../img/paypal.gif" alt=""/></a> </td>
</tr>
<tr>
<td style="text-align:center;border:none;padding:0">25&euro;</td>
</tr>
</table>
</td>
<td style="border:none;">
<table>
<tr>
<td style="border:none;padding:0"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5KP7LPQU77UAS"><img src="../img/paypal.gif" alt=""/></a> </td>
</tr>
<tr>
<td style="text-align:center;border:none;padding:0">30&euro;</td>
</tr>
</table>
</td>
</tr>
</table>

<p>
Pour plus d'information, veuillez visiter <a href="http://subsonic.org/">subsonic.org</a>
</p>

</body>
</html>
Binary file added assets/html/img/paypal.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/html/img/subsonic.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fc19957

Please sign in to comment.