Changed namespace/appid to org.xbmc.kore
This commit is contained in:
parent
0669203036
commit
ed584fb9b7
|
@ -56,7 +56,7 @@ License
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
|
|
||||||
|
|
||||||
[1]: https://play.google.com/store/apps/details?id=com.syncedsynapse.kore2
|
[1]: https://play.google.com/store/apps/details?id=org.xbmc.kore
|
||||||
[2]: http://syncedsynapse.com/kore/
|
[2]: http://syncedsynapse.com/kore/
|
||||||
[3]: https://plus.google.com/u/0/communities/110340113064213296333
|
[3]: https://plus.google.com/u/0/communities/110340113064213296333
|
||||||
[4]: http://developer.android.com/sdk/installing/studio-build.html
|
[4]: http://developer.android.com/sdk/installing/studio-build.html
|
||||||
|
|
|
@ -5,7 +5,7 @@ android {
|
||||||
buildToolsVersion "21.1.2"
|
buildToolsVersion "21.1.2"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.syncedsynapse.kore2"
|
applicationId "org.xbmc.kore"
|
||||||
minSdkVersion 15
|
minSdkVersion 15
|
||||||
targetSdkVersion 21
|
targetSdkVersion 21
|
||||||
versionCode 7
|
versionCode 7
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package com.syncedsynapse.kore2;
|
package org.xbmc.kore;
|
||||||
|
|
||||||
import android.app.Application;
|
import android.app.Application;
|
||||||
import android.test.ApplicationTestCase;
|
import android.test.ApplicationTestCase;
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="com.syncedsynapse.kore2">
|
package="org.xbmc.kore">
|
||||||
|
|
||||||
<!-- Permissions -->
|
<!-- Permissions -->
|
||||||
<uses-permission android:name="android.permission.INTERNET"/>
|
<uses-permission android:name="android.permission.INTERNET"/>
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
<!-- Activities -->
|
<!-- Activities -->
|
||||||
<activity
|
<activity
|
||||||
android:name="com.syncedsynapse.kore2.ui.RemoteActivity"
|
android:name="org.xbmc.kore.ui.RemoteActivity"
|
||||||
android:label="@string/app_name" >
|
android:label="@string/app_name" >
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
@ -24,27 +24,27 @@
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
|
|
||||||
<activity android:name="com.syncedsynapse.kore2.ui.hosts.HostManagerActivity"/>
|
<activity android:name="org.xbmc.kore.ui.hosts.HostManagerActivity"/>
|
||||||
<activity android:name="com.syncedsynapse.kore2.ui.hosts.AddHostActivity"/>
|
<activity android:name="org.xbmc.kore.ui.hosts.AddHostActivity"/>
|
||||||
<activity android:name="com.syncedsynapse.kore2.ui.hosts.EditHostActivity"/>
|
<activity android:name="org.xbmc.kore.ui.hosts.EditHostActivity"/>
|
||||||
<activity android:name="com.syncedsynapse.kore2.ui.MoviesActivity"/>
|
<activity android:name="org.xbmc.kore.ui.MoviesActivity"/>
|
||||||
<activity android:name="com.syncedsynapse.kore2.ui.TVShowsActivity"/>
|
<activity android:name="org.xbmc.kore.ui.TVShowsActivity"/>
|
||||||
<activity android:name="com.syncedsynapse.kore2.ui.MusicActivity"/>
|
<activity android:name="org.xbmc.kore.ui.MusicActivity"/>
|
||||||
<activity android:name="com.syncedsynapse.kore2.ui.AddonsActivity"/>
|
<activity android:name="org.xbmc.kore.ui.AddonsActivity"/>
|
||||||
<activity android:name="com.syncedsynapse.kore2.ui.SettingsActivity"/>
|
<activity android:name="org.xbmc.kore.ui.SettingsActivity"/>
|
||||||
|
|
||||||
<!-- Providers -->
|
<!-- Providers -->
|
||||||
<provider
|
<provider
|
||||||
android:name="com.syncedsynapse.kore2.provider.MediaProvider"
|
android:name="org.xbmc.kore.provider.MediaProvider"
|
||||||
android:authorities="com.syncedsynapse.kore2.provider"
|
android:authorities="org.xbmc.kore.provider"
|
||||||
android:exported="false"/>
|
android:exported="false"/>
|
||||||
|
|
||||||
<!-- Services -->
|
<!-- Services -->
|
||||||
<service android:name="com.syncedsynapse.kore2.service.LibrarySyncService"
|
<service android:name="org.xbmc.kore.service.LibrarySyncService"
|
||||||
android:exported="false"/>
|
android:exported="false"/>
|
||||||
<service android:name="com.syncedsynapse.kore2.service.NotificationService"
|
<service android:name="org.xbmc.kore.service.NotificationService"
|
||||||
android:exported="false"/>
|
android:exported="false"/>
|
||||||
<service android:name="com.syncedsynapse.kore2.service.IntentActionsService"
|
<service android:name="org.xbmc.kore.service.IntentActionsService"
|
||||||
android:exported="false"/>
|
android:exported="false"/>
|
||||||
|
|
||||||
</application>
|
</application>
|
||||||
|
|
|
@ -13,13 +13,13 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2;
|
package org.xbmc.kore;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.SharedPreferences;
|
import android.content.SharedPreferences;
|
||||||
import android.text.format.DateUtils;
|
import android.text.format.DateUtils;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Singleton that holds the settings of the app, that are not stored in the default shared preferences
|
* Singleton that holds the settings of the app, that are not stored in the default shared preferences
|
||||||
|
@ -125,7 +125,7 @@ public class Settings {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the singleton {@link com.syncedsynapse.kore2.Settings} object.
|
* Returns the singleton {@link Settings} object.
|
||||||
* @param context App context
|
* @param context App context
|
||||||
* @return Singleton instance
|
* @return Singleton instance
|
||||||
*/
|
*/
|
|
@ -13,19 +13,19 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.host;
|
package org.xbmc.kore.host;
|
||||||
|
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiCallback;
|
import org.xbmc.kore.jsonrpc.ApiCallback;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.HostConnection;
|
import org.xbmc.kore.jsonrpc.HostConnection;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.JSONRPC;
|
import org.xbmc.kore.jsonrpc.method.JSONRPC;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Player;
|
import org.xbmc.kore.jsonrpc.method.Player;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.notification.Input;
|
import org.xbmc.kore.jsonrpc.notification.Input;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.notification.System;
|
import org.xbmc.kore.jsonrpc.notification.System;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.ListType;
|
import org.xbmc.kore.jsonrpc.type.ListType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.PlayerType;
|
import org.xbmc.kore.jsonrpc.type.PlayerType;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -63,9 +63,9 @@ public class HostConnectionObserver
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notifies that something is playing
|
* Notifies that something is playing
|
||||||
* @param getActivePlayerResult Active player obtained by a call to {@link com.syncedsynapse.kore2.jsonrpc.method.Player.GetActivePlayers}
|
* @param getActivePlayerResult Active player obtained by a call to {@link org.xbmc.kore.jsonrpc.method.Player.GetActivePlayers}
|
||||||
* @param getPropertiesResult Properties obtained by a call to {@link com.syncedsynapse.kore2.jsonrpc.method.Player.GetProperties}
|
* @param getPropertiesResult Properties obtained by a call to {@link org.xbmc.kore.jsonrpc.method.Player.GetProperties}
|
||||||
* @param getItemResult Currently playing item, obtained by a call to {@link com.syncedsynapse.kore2.jsonrpc.method.Player.GetItem}
|
* @param getItemResult Currently playing item, obtained by a call to {@link org.xbmc.kore.jsonrpc.method.Player.GetItem}
|
||||||
*/
|
*/
|
||||||
public void playerOnPlay(PlayerType.GetActivePlayersReturnType getActivePlayerResult,
|
public void playerOnPlay(PlayerType.GetActivePlayersReturnType getActivePlayerResult,
|
||||||
PlayerType.PropertyValue getPropertiesResult,
|
PlayerType.PropertyValue getPropertiesResult,
|
||||||
|
@ -73,9 +73,9 @@ public class HostConnectionObserver
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Notifies that something is paused
|
* Notifies that something is paused
|
||||||
* @param getActivePlayerResult Active player obtained by a call to {@link com.syncedsynapse.kore2.jsonrpc.method.Player.GetActivePlayers}
|
* @param getActivePlayerResult Active player obtained by a call to {@link org.xbmc.kore.jsonrpc.method.Player.GetActivePlayers}
|
||||||
* @param getPropertiesResult Properties obtained by a call to {@link com.syncedsynapse.kore2.jsonrpc.method.Player.GetProperties}
|
* @param getPropertiesResult Properties obtained by a call to {@link org.xbmc.kore.jsonrpc.method.Player.GetProperties}
|
||||||
* @param getItemResult Currently paused item, obtained by a call to {@link com.syncedsynapse.kore2.jsonrpc.method.Player.GetItem}
|
* @param getItemResult Currently paused item, obtained by a call to {@link org.xbmc.kore.jsonrpc.method.Player.GetItem}
|
||||||
*/
|
*/
|
||||||
public void playerOnPause(PlayerType.GetActivePlayersReturnType getActivePlayerResult,
|
public void playerOnPause(PlayerType.GetActivePlayersReturnType getActivePlayerResult,
|
||||||
PlayerType.PropertyValue getPropertiesResult,
|
PlayerType.PropertyValue getPropertiesResult,
|
||||||
|
@ -270,29 +270,29 @@ public class HostConnectionObserver
|
||||||
/**
|
/**
|
||||||
* The {@link HostConnection.PlayerNotificationsObserver} interface methods
|
* The {@link HostConnection.PlayerNotificationsObserver} interface methods
|
||||||
*/
|
*/
|
||||||
public void onPlay(com.syncedsynapse.kore2.jsonrpc.notification.Player.OnPlay notification) {
|
public void onPlay(org.xbmc.kore.jsonrpc.notification.Player.OnPlay notification) {
|
||||||
// Just start our chain calls
|
// Just start our chain calls
|
||||||
chainCallGetActivePlayers();
|
chainCallGetActivePlayers();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onPause(com.syncedsynapse.kore2.jsonrpc.notification.Player.OnPause
|
public void onPause(org.xbmc.kore.jsonrpc.notification.Player.OnPause
|
||||||
notification) {
|
notification) {
|
||||||
// Just start our chain calls
|
// Just start our chain calls
|
||||||
chainCallGetActivePlayers();
|
chainCallGetActivePlayers();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onSpeedChanged(com.syncedsynapse.kore2.jsonrpc.notification.Player
|
public void onSpeedChanged(org.xbmc.kore.jsonrpc.notification.Player
|
||||||
.OnSpeedChanged notification) {
|
.OnSpeedChanged notification) {
|
||||||
// Just start our chain calls
|
// Just start our chain calls
|
||||||
chainCallGetActivePlayers();
|
chainCallGetActivePlayers();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onSeek(com.syncedsynapse.kore2.jsonrpc.notification.Player.OnSeek notification) {
|
public void onSeek(org.xbmc.kore.jsonrpc.notification.Player.OnSeek notification) {
|
||||||
// Just start our chain calls
|
// Just start our chain calls
|
||||||
chainCallGetActivePlayers();
|
chainCallGetActivePlayers();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void onStop(com.syncedsynapse.kore2.jsonrpc.notification.Player.OnStop notification) {
|
public void onStop(org.xbmc.kore.jsonrpc.notification.Player.OnStop notification) {
|
||||||
// Just start our chain calls
|
// Just start our chain calls
|
||||||
notifyNothingIsPlaying(playerEventsObservers);
|
notifyNothingIsPlaying(playerEventsObservers);
|
||||||
}
|
}
|
|
@ -13,10 +13,10 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.host;
|
package org.xbmc.kore.host;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.jsonrpc.HostConnection;
|
import org.xbmc.kore.jsonrpc.HostConnection;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
|
|
||||||
import java.io.UnsupportedEncodingException;
|
import java.io.UnsupportedEncodingException;
|
||||||
import java.net.URLEncoder;
|
import java.net.URLEncoder;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.host;
|
package org.xbmc.kore.host;
|
||||||
|
|
||||||
import android.content.ContentValues;
|
import android.content.ContentValues;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -21,11 +21,11 @@ import android.database.Cursor;
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
|
|
||||||
import com.squareup.picasso.Picasso;
|
import com.squareup.picasso.Picasso;
|
||||||
import com.syncedsynapse.kore2.Settings;
|
import org.xbmc.kore.Settings;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.HostConnection;
|
import org.xbmc.kore.jsonrpc.HostConnection;
|
||||||
import com.syncedsynapse.kore2.provider.MediaContract;
|
import org.xbmc.kore.provider.MediaContract;
|
||||||
import com.syncedsynapse.kore2.utils.BasicAuthPicassoDownloader;
|
import org.xbmc.kore.utils.BasicAuthPicassoDownloader;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
@ -252,7 +252,7 @@ public class HostManager {
|
||||||
/**
|
/**
|
||||||
* Adds a new XBMC host to the database
|
* Adds a new XBMC host to the database
|
||||||
* @param hostInfo Host to add
|
* @param hostInfo Host to add
|
||||||
* @return Newly created {@link com.syncedsynapse.kore2.host.HostInfo}
|
* @return Newly created {@link org.xbmc.kore.host.HostInfo}
|
||||||
*/
|
*/
|
||||||
public HostInfo addHost(HostInfo hostInfo) {
|
public HostInfo addHost(HostInfo hostInfo) {
|
||||||
return addHost(hostInfo.getName(), hostInfo.getAddress(), hostInfo.getProtocol(),
|
return addHost(hostInfo.getName(), hostInfo.getAddress(), hostInfo.getProtocol(),
|
||||||
|
@ -271,7 +271,7 @@ public class HostManager {
|
||||||
* @param tcpPort TCP port
|
* @param tcpPort TCP port
|
||||||
* @param username Username for HTTP
|
* @param username Username for HTTP
|
||||||
* @param password Password for HTTP
|
* @param password Password for HTTP
|
||||||
* @return Newly created {@link com.syncedsynapse.kore2.host.HostInfo}
|
* @return Newly created {@link org.xbmc.kore.host.HostInfo}
|
||||||
*/
|
*/
|
||||||
public HostInfo addHost(String name, String address, int protocol, int httpPort, int tcpPort,
|
public HostInfo addHost(String name, String address, int protocol, int httpPort, int tcpPort,
|
||||||
String username, String password, String macAddress, int wolPort) {
|
String username, String password, String macAddress, int wolPort) {
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc;
|
package org.xbmc.kore.jsonrpc;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Callback from a JSON RPC method execution.
|
* Callback from a JSON RPC method execution.
|
|
@ -13,10 +13,10 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc;
|
package org.xbmc.kore.jsonrpc;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.utils.JsonUtils;
|
import org.xbmc.kore.utils.JsonUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Exception class for errors on JSON API.
|
* Exception class for errors on JSON API.
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc;
|
package org.xbmc.kore.jsonrpc;
|
||||||
|
|
||||||
|
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
|
@ -23,8 +23,8 @@ import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||||
import com.fasterxml.jackson.databind.node.ArrayNode;
|
import com.fasterxml.jackson.databind.node.ArrayNode;
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.ApiParameter;
|
import org.xbmc.kore.jsonrpc.type.ApiParameter;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
|
@ -13,11 +13,11 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc;
|
package org.xbmc.kore.jsonrpc;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.notification.Player;
|
import org.xbmc.kore.jsonrpc.notification.Player;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Abstract class, based of all the JSON RPC notifications
|
* Abstract class, based of all the JSON RPC notifications
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc;
|
package org.xbmc.kore.jsonrpc;
|
||||||
|
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
import android.os.Process;
|
import android.os.Process;
|
||||||
|
@ -23,11 +23,11 @@ import com.fasterxml.jackson.core.JsonParser;
|
||||||
import com.fasterxml.jackson.core.JsonProcessingException;
|
import com.fasterxml.jackson.core.JsonProcessingException;
|
||||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.notification.Input;
|
import org.xbmc.kore.jsonrpc.notification.Input;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.notification.Player;
|
import org.xbmc.kore.jsonrpc.notification.Player;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.notification.System;
|
import org.xbmc.kore.jsonrpc.notification.System;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
||||||
import java.io.BufferedWriter;
|
import java.io.BufferedWriter;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.event;
|
package org.xbmc.kore.jsonrpc.event;
|
||||||
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ public class MediaSyncEvent {
|
||||||
/**
|
/**
|
||||||
* Creates a new sync event
|
* Creates a new sync event
|
||||||
*
|
*
|
||||||
* @param syncType One of the constants in {@link com.syncedsynapse.kore2.service.LibrarySyncService}
|
* @param syncType One of the constants in {@link org.xbmc.kore.service.LibrarySyncService}
|
||||||
*/
|
*/
|
||||||
public MediaSyncEvent(String syncType, Bundle syncExtras, int status) {
|
public MediaSyncEvent(String syncType, Bundle syncExtras, int status) {
|
||||||
this(syncType, syncExtras, status, -1, null);
|
this(syncType, syncExtras, status, -1, null);
|
|
@ -13,14 +13,14 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.method;
|
package org.xbmc.kore.jsonrpc.method;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.fasterxml.jackson.databind.node.ArrayNode;
|
import com.fasterxml.jackson.databind.node.ArrayNode;
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiMethod;
|
import org.xbmc.kore.jsonrpc.ApiMethod;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.AddonType;
|
import org.xbmc.kore.jsonrpc.type.AddonType;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -13,13 +13,13 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.method;
|
package org.xbmc.kore.jsonrpc.method;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiMethod;
|
import org.xbmc.kore.jsonrpc.ApiMethod;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.ApplicationType;
|
import org.xbmc.kore.jsonrpc.type.ApplicationType;
|
||||||
import com.syncedsynapse.kore2.utils.JsonUtils;
|
import org.xbmc.kore.utils.JsonUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* All JSON RPC methods in Application.*
|
* All JSON RPC methods in Application.*
|
||||||
|
@ -58,7 +58,7 @@ public class Application {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the current volume
|
* Set the current volume
|
||||||
* @param volume String enum in {@link com.syncedsynapse.kore2.jsonrpc.type.GlobalType.IncrementDecrement}
|
* @param volume String enum in {@link org.xbmc.kore.jsonrpc.type.GlobalType.IncrementDecrement}
|
||||||
*/
|
*/
|
||||||
public SetVolume(String volume) {
|
public SetVolume(String volume) {
|
||||||
super();
|
super();
|
|
@ -13,16 +13,16 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.method;
|
package org.xbmc.kore.jsonrpc.method;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.fasterxml.jackson.databind.node.ArrayNode;
|
import com.fasterxml.jackson.databind.node.ArrayNode;
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiMethod;
|
import org.xbmc.kore.jsonrpc.ApiMethod;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.AudioType;
|
import org.xbmc.kore.jsonrpc.type.AudioType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.LibraryType;
|
import org.xbmc.kore.jsonrpc.type.LibraryType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.ListType;
|
import org.xbmc.kore.jsonrpc.type.ListType;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -13,12 +13,12 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.method;
|
package org.xbmc.kore.jsonrpc.method;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiMethod;
|
import org.xbmc.kore.jsonrpc.ApiMethod;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.FilesType;
|
import org.xbmc.kore.jsonrpc.type.FilesType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* All JSON RPC methods in Files.*
|
* All JSON RPC methods in Files.*
|
|
@ -13,12 +13,12 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.method;
|
package org.xbmc.kore.jsonrpc.method;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiMethod;
|
import org.xbmc.kore.jsonrpc.ApiMethod;
|
||||||
import com.syncedsynapse.kore2.utils.JsonUtils;
|
import org.xbmc.kore.utils.JsonUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* All JSON RPC methods in GUI.*
|
* All JSON RPC methods in GUI.*
|
|
@ -13,11 +13,11 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.method;
|
package org.xbmc.kore.jsonrpc.method;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiMethod;
|
import org.xbmc.kore.jsonrpc.ApiMethod;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* All JSON RPC methods in Input.*
|
* All JSON RPC methods in Input.*
|
|
@ -13,11 +13,11 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.method;
|
package org.xbmc.kore.jsonrpc.method;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiMethod;
|
import org.xbmc.kore.jsonrpc.ApiMethod;
|
||||||
|
|
||||||
public class JSONRPC {
|
public class JSONRPC {
|
||||||
|
|
|
@ -13,18 +13,18 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.method;
|
package org.xbmc.kore.jsonrpc.method;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.fasterxml.jackson.databind.node.ArrayNode;
|
import com.fasterxml.jackson.databind.node.ArrayNode;
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiMethod;
|
import org.xbmc.kore.jsonrpc.ApiMethod;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.ListType;
|
import org.xbmc.kore.jsonrpc.type.ListType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.PlayerType;
|
import org.xbmc.kore.jsonrpc.type.PlayerType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.PlayerType.GetActivePlayersReturnType;
|
import org.xbmc.kore.jsonrpc.type.PlayerType.GetActivePlayersReturnType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.PlaylistType;
|
import org.xbmc.kore.jsonrpc.type.PlaylistType;
|
||||||
import com.syncedsynapse.kore2.utils.JsonUtils;
|
import org.xbmc.kore.utils.JsonUtils;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
|
@ -151,7 +151,7 @@ public class Player {
|
||||||
/**
|
/**
|
||||||
* Set the speed of the current playback
|
* Set the speed of the current playback
|
||||||
* @param playerId Player id for which to toggle the state
|
* @param playerId Player id for which to toggle the state
|
||||||
* @param speed String enum in {@link com.syncedsynapse.kore2.jsonrpc.type.GlobalType.IncrementDecrement}
|
* @param speed String enum in {@link org.xbmc.kore.jsonrpc.type.GlobalType.IncrementDecrement}
|
||||||
*/
|
*/
|
||||||
public SetSpeed(int playerId, String speed) {
|
public SetSpeed(int playerId, String speed) {
|
||||||
super();
|
super();
|
||||||
|
@ -373,7 +373,7 @@ public class Player {
|
||||||
/**
|
/**
|
||||||
* Set the repeat mode of the player
|
* Set the repeat mode of the player
|
||||||
* @param playerId Player id for which to stop playback
|
* @param playerId Player id for which to stop playback
|
||||||
* @param repeat Repeat mode, see {@link com.syncedsynapse.kore2.jsonrpc.type.PlayerType.Repeat}
|
* @param repeat Repeat mode, see {@link org.xbmc.kore.jsonrpc.type.PlayerType.Repeat}
|
||||||
*/
|
*/
|
||||||
public SetRepeat(int playerId, String repeat) {
|
public SetRepeat(int playerId, String repeat) {
|
||||||
super();
|
super();
|
|
@ -13,16 +13,16 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.method;
|
package org.xbmc.kore.jsonrpc.method;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.fasterxml.jackson.databind.node.ArrayNode;
|
import com.fasterxml.jackson.databind.node.ArrayNode;
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiMethod;
|
import org.xbmc.kore.jsonrpc.ApiMethod;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.ListType;
|
import org.xbmc.kore.jsonrpc.type.ListType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.PlaylistType;
|
import org.xbmc.kore.jsonrpc.type.PlaylistType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.PlaylistType.GetPlaylistsReturnType;
|
import org.xbmc.kore.jsonrpc.type.PlaylistType.GetPlaylistsReturnType;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -13,11 +13,11 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.method;
|
package org.xbmc.kore.jsonrpc.method;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiMethod;
|
import org.xbmc.kore.jsonrpc.ApiMethod;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* All JSON RPC methods in System.*
|
* All JSON RPC methods in System.*
|
|
@ -13,15 +13,15 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.method;
|
package org.xbmc.kore.jsonrpc.method;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.fasterxml.jackson.databind.node.ArrayNode;
|
import com.fasterxml.jackson.databind.node.ArrayNode;
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiMethod;
|
import org.xbmc.kore.jsonrpc.ApiMethod;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.ListType;
|
import org.xbmc.kore.jsonrpc.type.ListType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.VideoType;
|
import org.xbmc.kore.jsonrpc.type.VideoType;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -13,11 +13,11 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.notification;
|
package org.xbmc.kore.jsonrpc.notification;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiNotification;
|
import org.xbmc.kore.jsonrpc.ApiNotification;
|
||||||
import com.syncedsynapse.kore2.utils.JsonUtils;
|
import org.xbmc.kore.utils.JsonUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Input.* notifications
|
* Input.* notifications
|
|
@ -13,13 +13,13 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.notification;
|
package org.xbmc.kore.jsonrpc.notification;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiNotification;
|
import org.xbmc.kore.jsonrpc.ApiNotification;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.GlobalType;
|
import org.xbmc.kore.jsonrpc.type.GlobalType;
|
||||||
import com.syncedsynapse.kore2.utils.JsonUtils;
|
import org.xbmc.kore.utils.JsonUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* All Player.* notifications
|
* All Player.* notifications
|
|
@ -13,10 +13,10 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.notification;
|
package org.xbmc.kore.jsonrpc.notification;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiNotification;
|
import org.xbmc.kore.jsonrpc.ApiNotification;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* System.* notifications
|
* System.* notifications
|
|
@ -13,10 +13,10 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.type;
|
package org.xbmc.kore.jsonrpc.type;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.syncedsynapse.kore2.utils.JsonUtils;
|
import org.xbmc.kore.utils.JsonUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Types in Addon.*
|
* Types in Addon.*
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.type;
|
package org.xbmc.kore.jsonrpc.type;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
|
|
|
@ -13,10 +13,10 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.type;
|
package org.xbmc.kore.jsonrpc.type;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.syncedsynapse.kore2.utils.JsonUtils;
|
import org.xbmc.kore.utils.JsonUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Types defined in Application.*
|
* Types defined in Application.*
|
|
@ -13,10 +13,10 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.type;
|
package org.xbmc.kore.jsonrpc.type;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.syncedsynapse.kore2.utils.JsonUtils;
|
import org.xbmc.kore.utils.JsonUtils;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -13,10 +13,10 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.type;
|
package org.xbmc.kore.jsonrpc.type;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.syncedsynapse.kore2.utils.JsonUtils;
|
import org.xbmc.kore.utils.JsonUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return types for methods in Files.*
|
* Return types for methods in Files.*
|
|
@ -13,10 +13,10 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.type;
|
package org.xbmc.kore.jsonrpc.type;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.syncedsynapse.kore2.utils.JsonUtils;
|
import org.xbmc.kore.utils.JsonUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Types from Global.*
|
* Types from Global.*
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.type;
|
package org.xbmc.kore.jsonrpc.type;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
|
|
|
@ -13,10 +13,10 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.type;
|
package org.xbmc.kore.jsonrpc.type;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.syncedsynapse.kore2.utils.JsonUtils;
|
import org.xbmc.kore.utils.JsonUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Types from Library.*
|
* Types from Library.*
|
|
@ -13,12 +13,12 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.type;
|
package org.xbmc.kore.jsonrpc.type;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.utils.JsonUtils;
|
import org.xbmc.kore.utils.JsonUtils;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -13,10 +13,10 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.type;
|
package org.xbmc.kore.jsonrpc.type;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.syncedsynapse.kore2.utils.JsonUtils;
|
import org.xbmc.kore.utils.JsonUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Types from Media.*
|
* Types from Media.*
|
|
@ -13,13 +13,13 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.type;
|
package org.xbmc.kore.jsonrpc.type;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||||
import com.fasterxml.jackson.databind.node.ArrayNode;
|
import com.fasterxml.jackson.databind.node.ArrayNode;
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.utils.JsonUtils;
|
import org.xbmc.kore.utils.JsonUtils;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -13,12 +13,12 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.type;
|
package org.xbmc.kore.jsonrpc.type;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||||
import com.fasterxml.jackson.databind.node.ObjectNode;
|
import com.fasterxml.jackson.databind.node.ObjectNode;
|
||||||
import com.syncedsynapse.kore2.utils.JsonUtils;
|
import org.xbmc.kore.utils.JsonUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return types for methods in Playlist.*
|
* Return types for methods in Playlist.*
|
|
@ -13,11 +13,11 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.jsonrpc.type;
|
package org.xbmc.kore.jsonrpc.type;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.fasterxml.jackson.databind.node.ArrayNode;
|
import com.fasterxml.jackson.databind.node.ArrayNode;
|
||||||
import com.syncedsynapse.kore2.utils.JsonUtils;
|
import org.xbmc.kore.utils.JsonUtils;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.provider;
|
package org.xbmc.kore.provider;
|
||||||
|
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
import android.provider.BaseColumns;
|
import android.provider.BaseColumns;
|
||||||
|
@ -23,7 +23,7 @@ import android.provider.BaseColumns;
|
||||||
*/
|
*/
|
||||||
public class MediaContract {
|
public class MediaContract {
|
||||||
|
|
||||||
public static final String CONTENT_AUTHORITY = "com.syncedsynapse.kore2.provider";
|
public static final String CONTENT_AUTHORITY = "org.xbmc.kore.provider";
|
||||||
|
|
||||||
public static final Uri BASE_CONTENT_URI = Uri.parse("content://" + CONTENT_AUTHORITY);
|
public static final Uri BASE_CONTENT_URI = Uri.parse("content://" + CONTENT_AUTHORITY);
|
||||||
|
|
|
@ -13,14 +13,14 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.provider;
|
package org.xbmc.kore.provider;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.database.sqlite.SQLiteDatabase;
|
import android.database.sqlite.SQLiteDatabase;
|
||||||
import android.database.sqlite.SQLiteOpenHelper;
|
import android.database.sqlite.SQLiteOpenHelper;
|
||||||
import android.provider.BaseColumns;
|
import android.provider.BaseColumns;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.provider;
|
package org.xbmc.kore.provider;
|
||||||
|
|
||||||
import android.content.ContentProvider;
|
import android.content.ContentProvider;
|
||||||
import android.content.ContentValues;
|
import android.content.ContentValues;
|
||||||
|
@ -23,8 +23,8 @@ import android.database.sqlite.SQLiteDatabase;
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
import android.provider.BaseColumns;
|
import android.provider.BaseColumns;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.SelectionBuilder;
|
import org.xbmc.kore.utils.SelectionBuilder;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
|
@ -13,17 +13,17 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.service;
|
package org.xbmc.kore.service;
|
||||||
|
|
||||||
import android.app.Service;
|
import android.app.Service;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.os.IBinder;
|
import android.os.IBinder;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.HostConnection;
|
import org.xbmc.kore.jsonrpc.HostConnection;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Player;
|
import org.xbmc.kore.jsonrpc.method.Player;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.GlobalType;
|
import org.xbmc.kore.jsonrpc.type.GlobalType;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Service that implements some player actions
|
* Service that implements some player actions
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.service;
|
package org.xbmc.kore.service;
|
||||||
|
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
import android.app.Service;
|
import android.app.Service;
|
||||||
|
@ -27,19 +27,19 @@ import android.os.HandlerThread;
|
||||||
import android.os.IBinder;
|
import android.os.IBinder;
|
||||||
import android.os.Process;
|
import android.os.Process;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiCallback;
|
import org.xbmc.kore.jsonrpc.ApiCallback;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.HostConnection;
|
import org.xbmc.kore.jsonrpc.HostConnection;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.event.MediaSyncEvent;
|
import org.xbmc.kore.jsonrpc.event.MediaSyncEvent;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.*;
|
import org.xbmc.kore.jsonrpc.method.*;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.AudioType;
|
import org.xbmc.kore.jsonrpc.type.AudioType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.LibraryType;
|
import org.xbmc.kore.jsonrpc.type.LibraryType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.ListType;
|
import org.xbmc.kore.jsonrpc.type.ListType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.VideoType;
|
import org.xbmc.kore.jsonrpc.type.VideoType;
|
||||||
import com.syncedsynapse.kore2.provider.MediaContract;
|
import org.xbmc.kore.provider.MediaContract;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.Utils;
|
import org.xbmc.kore.utils.Utils;
|
||||||
|
|
||||||
import java.lang.System;
|
import java.lang.System;
|
||||||
import java.util.ArrayDeque;
|
import java.util.ArrayDeque;
|
||||||
|
@ -312,7 +312,7 @@ public class LibrarySyncService extends Service {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the sync event that should be posted after completion
|
* Returns the sync event that should be posted after completion
|
||||||
* @return Sync type, one of the constants in {@link com.syncedsynapse.kore2.service.LibrarySyncService}
|
* @return Sync type, one of the constants in {@link org.xbmc.kore.service.LibrarySyncService}
|
||||||
*/
|
*/
|
||||||
public String getSyncType();
|
public String getSyncType();
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.service;
|
package org.xbmc.kore.service;
|
||||||
|
|
||||||
import android.annotation.TargetApi;
|
import android.annotation.TargetApi;
|
||||||
import android.app.Notification;
|
import android.app.Notification;
|
||||||
|
@ -34,16 +34,16 @@ import android.widget.RemoteViews;
|
||||||
|
|
||||||
import com.squareup.picasso.Picasso;
|
import com.squareup.picasso.Picasso;
|
||||||
import com.squareup.picasso.Target;
|
import com.squareup.picasso.Target;
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.host.HostConnectionObserver;
|
import org.xbmc.kore.host.HostConnectionObserver;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.ListType;
|
import org.xbmc.kore.jsonrpc.type.ListType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.PlayerType;
|
import org.xbmc.kore.jsonrpc.type.PlayerType;
|
||||||
import com.syncedsynapse.kore2.ui.RemoteActivity;
|
import org.xbmc.kore.ui.RemoteActivity;
|
||||||
import com.syncedsynapse.kore2.utils.CharacterDrawable;
|
import org.xbmc.kore.utils.CharacterDrawable;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
import com.syncedsynapse.kore2.utils.Utils;
|
import org.xbmc.kore.utils.Utils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This service maintains a notification in the notification area while
|
* This service maintains a notification in the notification area while
|
|
@ -13,15 +13,15 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.service;
|
package org.xbmc.kore.service;
|
||||||
|
|
||||||
import android.content.ContentValues;
|
import android.content.ContentValues;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.VideoType;
|
import org.xbmc.kore.jsonrpc.type.VideoType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.AudioType;
|
import org.xbmc.kore.jsonrpc.type.AudioType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.LibraryType;
|
import org.xbmc.kore.jsonrpc.type.LibraryType;
|
||||||
import com.syncedsynapse.kore2.provider.MediaContract;
|
import org.xbmc.kore.provider.MediaContract;
|
||||||
import com.syncedsynapse.kore2.utils.Utils;
|
import org.xbmc.kore.utils.Utils;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -34,9 +34,9 @@ public class SyncUtils {
|
||||||
public static final String LIST_DELIMETER = ", ";
|
public static final String LIST_DELIMETER = ", ";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns {@link android.content.ContentValues} from a {@link com.syncedsynapse.kore2.jsonrpc.type.VideoType.DetailsMovie} movie
|
* Returns {@link android.content.ContentValues} from a {@link org.xbmc.kore.jsonrpc.type.VideoType.DetailsMovie} movie
|
||||||
* @param hostId Host id for this movie
|
* @param hostId Host id for this movie
|
||||||
* @param movie {@link com.syncedsynapse.kore2.jsonrpc.type.VideoType.DetailsMovie}
|
* @param movie {@link org.xbmc.kore.jsonrpc.type.VideoType.DetailsMovie}
|
||||||
* @return {@link android.content.ContentValues} with the movie values
|
* @return {@link android.content.ContentValues} with the movie values
|
||||||
*/
|
*/
|
||||||
public static ContentValues contentValuesFromMovie(int hostId, VideoType.DetailsMovie movie) {
|
public static ContentValues contentValuesFromMovie(int hostId, VideoType.DetailsMovie movie) {
|
||||||
|
@ -113,9 +113,9 @@ public class SyncUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns {@link android.content.ContentValues} from a {@link com.syncedsynapse.kore2.jsonrpc.type.VideoType.Cast} movie cast
|
* Returns {@link android.content.ContentValues} from a {@link org.xbmc.kore.jsonrpc.type.VideoType.Cast} movie cast
|
||||||
* @param hostId Host id for this movie
|
* @param hostId Host id for this movie
|
||||||
* @param cast {@link com.syncedsynapse.kore2.jsonrpc.type.VideoType.Cast}
|
* @param cast {@link org.xbmc.kore.jsonrpc.type.VideoType.Cast}
|
||||||
* @return {@link android.content.ContentValues} with the cast values
|
* @return {@link android.content.ContentValues} with the cast values
|
||||||
*/
|
*/
|
||||||
public static ContentValues contentValuesFromCast(int hostId, VideoType.Cast cast) {
|
public static ContentValues contentValuesFromCast(int hostId, VideoType.Cast cast) {
|
||||||
|
@ -132,7 +132,7 @@ public class SyncUtils {
|
||||||
/**
|
/**
|
||||||
* Returns {@link android.content.ContentValues} from a {@link VideoType.DetailsTVShow} show
|
* Returns {@link android.content.ContentValues} from a {@link VideoType.DetailsTVShow} show
|
||||||
* @param hostId Host id for this tvshow
|
* @param hostId Host id for this tvshow
|
||||||
* @param tvshow {@link com.syncedsynapse.kore2.jsonrpc.type.VideoType.DetailsTVShow}
|
* @param tvshow {@link org.xbmc.kore.jsonrpc.type.VideoType.DetailsTVShow}
|
||||||
* @return {@link android.content.ContentValues} with the tvshow values
|
* @return {@link android.content.ContentValues} with the tvshow values
|
||||||
*/
|
*/
|
||||||
public static ContentValues contentValuesFromTVShow(int hostId, VideoType.DetailsTVShow tvshow) {
|
public static ContentValues contentValuesFromTVShow(int hostId, VideoType.DetailsTVShow tvshow) {
|
||||||
|
@ -165,7 +165,7 @@ public class SyncUtils {
|
||||||
* Returns {@link android.content.ContentValues} from a {@link VideoType.DetailsSeason} tv
|
* Returns {@link android.content.ContentValues} from a {@link VideoType.DetailsSeason} tv
|
||||||
* show season
|
* show season
|
||||||
* @param hostId Host id for this season
|
* @param hostId Host id for this season
|
||||||
* @param season {@link com.syncedsynapse.kore2.jsonrpc.type.VideoType.DetailsSeason}
|
* @param season {@link org.xbmc.kore.jsonrpc.type.VideoType.DetailsSeason}
|
||||||
* @return {@link android.content.ContentValues} with the season values
|
* @return {@link android.content.ContentValues} with the season values
|
||||||
*/
|
*/
|
||||||
public static ContentValues contentValuesFromSeason(int hostId, VideoType.DetailsSeason season) {
|
public static ContentValues contentValuesFromSeason(int hostId, VideoType.DetailsSeason season) {
|
||||||
|
@ -332,7 +332,7 @@ public class SyncUtils {
|
||||||
/**
|
/**
|
||||||
* Returns {@link android.content.ContentValues} from a {@link VideoType.DetailsMusicVideo} music video
|
* Returns {@link android.content.ContentValues} from a {@link VideoType.DetailsMusicVideo} music video
|
||||||
* @param hostId Host id
|
* @param hostId Host id
|
||||||
* @param musicVideo {@link com.syncedsynapse.kore2.jsonrpc.type.VideoType.DetailsMusicVideo}
|
* @param musicVideo {@link org.xbmc.kore.jsonrpc.type.VideoType.DetailsMusicVideo}
|
||||||
* @return {@link android.content.ContentValues} with the music video values
|
* @return {@link android.content.ContentValues} with the music video values
|
||||||
*/
|
*/
|
||||||
public static ContentValues contentValuesFromMusicVideo(int hostId,
|
public static ContentValues contentValuesFromMusicVideo(int hostId,
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2013, Antonio Mendes Silva
|
* Copyright (C) 2013, Antonio Mendes Silva
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
|
@ -16,7 +16,7 @@ import android.text.method.LinkMovementMethod;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.content.res.Resources;
|
import android.content.res.Resources;
|
||||||
import android.content.res.TypedArray;
|
import android.content.res.TypedArray;
|
||||||
|
@ -34,14 +34,14 @@ import android.widget.Toast;
|
||||||
|
|
||||||
import com.melnykov.fab.FloatingActionButton;
|
import com.melnykov.fab.FloatingActionButton;
|
||||||
import com.melnykov.fab.ObservableScrollView;
|
import com.melnykov.fab.ObservableScrollView;
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiCallback;
|
import org.xbmc.kore.jsonrpc.ApiCallback;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Addons;
|
import org.xbmc.kore.jsonrpc.method.Addons;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.AddonType;
|
import org.xbmc.kore.jsonrpc.type.AddonType;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
|
|
||||||
import butterknife.ButterKnife;
|
import butterknife.ButterKnife;
|
||||||
import butterknife.InjectView;
|
import butterknife.InjectView;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -32,13 +32,13 @@ import android.widget.ImageView;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiCallback;
|
import org.xbmc.kore.jsonrpc.ApiCallback;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Addons;
|
import org.xbmc.kore.jsonrpc.method.Addons;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.AddonType;
|
import org.xbmc.kore.jsonrpc.type.AddonType;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.annotation.TargetApi;
|
import android.annotation.TargetApi;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
@ -27,9 +27,9 @@ import android.view.Menu;
|
||||||
import android.view.MenuItem;
|
import android.view.MenuItem;
|
||||||
import android.view.Window;
|
import android.view.Window;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.Utils;
|
import org.xbmc.kore.utils.Utils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Controls the presentation of Addons information (list, details)
|
* Controls the presentation of Addons information (list, details)
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.app.AlertDialog;
|
import android.app.AlertDialog;
|
||||||
import android.content.DialogInterface;
|
import android.content.DialogInterface;
|
||||||
|
@ -46,19 +46,19 @@ import android.widget.Toast;
|
||||||
|
|
||||||
import com.melnykov.fab.FloatingActionButton;
|
import com.melnykov.fab.FloatingActionButton;
|
||||||
import com.melnykov.fab.ObservableScrollView;
|
import com.melnykov.fab.ObservableScrollView;
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.Settings;
|
import org.xbmc.kore.Settings;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiCallback;
|
import org.xbmc.kore.jsonrpc.ApiCallback;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiMethod;
|
import org.xbmc.kore.jsonrpc.ApiMethod;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Player;
|
import org.xbmc.kore.jsonrpc.method.Player;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Playlist;
|
import org.xbmc.kore.jsonrpc.method.Playlist;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.PlaylistType;
|
import org.xbmc.kore.jsonrpc.type.PlaylistType;
|
||||||
import com.syncedsynapse.kore2.provider.MediaContract;
|
import org.xbmc.kore.provider.MediaContract;
|
||||||
import com.syncedsynapse.kore2.utils.FileDownloadHelper;
|
import org.xbmc.kore.utils.FileDownloadHelper;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -44,16 +44,16 @@ import android.widget.ImageView;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.event.MediaSyncEvent;
|
import org.xbmc.kore.jsonrpc.event.MediaSyncEvent;
|
||||||
import com.syncedsynapse.kore2.provider.MediaContract;
|
import org.xbmc.kore.provider.MediaContract;
|
||||||
import com.syncedsynapse.kore2.provider.MediaDatabase;
|
import org.xbmc.kore.provider.MediaDatabase;
|
||||||
import com.syncedsynapse.kore2.service.LibrarySyncService;
|
import org.xbmc.kore.service.LibrarySyncService;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
|
|
||||||
import butterknife.ButterKnife;
|
import butterknife.ButterKnife;
|
||||||
import butterknife.InjectView;
|
import butterknife.InjectView;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -44,16 +44,16 @@ import android.widget.ImageView;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.event.MediaSyncEvent;
|
import org.xbmc.kore.jsonrpc.event.MediaSyncEvent;
|
||||||
import com.syncedsynapse.kore2.provider.MediaContract;
|
import org.xbmc.kore.provider.MediaContract;
|
||||||
import com.syncedsynapse.kore2.provider.MediaDatabase;
|
import org.xbmc.kore.provider.MediaDatabase;
|
||||||
import com.syncedsynapse.kore2.service.LibrarySyncService;
|
import org.xbmc.kore.service.LibrarySyncService;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
|
|
||||||
import butterknife.ButterKnife;
|
import butterknife.ButterKnife;
|
||||||
import butterknife.InjectView;
|
import butterknife.InjectView;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -44,15 +44,15 @@ import android.widget.ImageView;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.event.MediaSyncEvent;
|
import org.xbmc.kore.jsonrpc.event.MediaSyncEvent;
|
||||||
import com.syncedsynapse.kore2.provider.MediaContract;
|
import org.xbmc.kore.provider.MediaContract;
|
||||||
import com.syncedsynapse.kore2.service.LibrarySyncService;
|
import org.xbmc.kore.service.LibrarySyncService;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
|
|
||||||
import butterknife.ButterKnife;
|
import butterknife.ButterKnife;
|
||||||
import butterknife.InjectView;
|
import butterknife.InjectView;
|
|
@ -13,15 +13,15 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.content.SharedPreferences;
|
import android.content.SharedPreferences;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.preference.PreferenceManager;
|
import android.preference.PreferenceManager;
|
||||||
import android.support.v7.app.ActionBarActivity;
|
import android.support.v7.app.ActionBarActivity;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.Settings;
|
import org.xbmc.kore.Settings;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base activity, where common behaviour is implemented
|
* Base activity, where common behaviour is implemented
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.app.AlertDialog;
|
import android.app.AlertDialog;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.app.AlertDialog;
|
import android.app.AlertDialog;
|
||||||
import android.content.DialogInterface;
|
import android.content.DialogInterface;
|
||||||
|
@ -46,24 +46,24 @@ import android.widget.Toast;
|
||||||
|
|
||||||
import com.melnykov.fab.FloatingActionButton;
|
import com.melnykov.fab.FloatingActionButton;
|
||||||
import com.melnykov.fab.ObservableScrollView;
|
import com.melnykov.fab.ObservableScrollView;
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.Settings;
|
import org.xbmc.kore.Settings;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiCallback;
|
import org.xbmc.kore.jsonrpc.ApiCallback;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.event.MediaSyncEvent;
|
import org.xbmc.kore.jsonrpc.event.MediaSyncEvent;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Player;
|
import org.xbmc.kore.jsonrpc.method.Player;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Playlist;
|
import org.xbmc.kore.jsonrpc.method.Playlist;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.VideoLibrary;
|
import org.xbmc.kore.jsonrpc.method.VideoLibrary;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.PlaylistType;
|
import org.xbmc.kore.jsonrpc.type.PlaylistType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.VideoType;
|
import org.xbmc.kore.jsonrpc.type.VideoType;
|
||||||
import com.syncedsynapse.kore2.provider.MediaContract;
|
import org.xbmc.kore.provider.MediaContract;
|
||||||
import com.syncedsynapse.kore2.service.LibrarySyncService;
|
import org.xbmc.kore.service.LibrarySyncService;
|
||||||
import com.syncedsynapse.kore2.utils.FileDownloadHelper;
|
import org.xbmc.kore.utils.FileDownloadHelper;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
import com.syncedsynapse.kore2.utils.Utils;
|
import org.xbmc.kore.utils.Utils;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -46,17 +46,17 @@ import android.widget.ImageView;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.Settings;
|
import org.xbmc.kore.Settings;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.event.MediaSyncEvent;
|
import org.xbmc.kore.jsonrpc.event.MediaSyncEvent;
|
||||||
import com.syncedsynapse.kore2.provider.MediaContract;
|
import org.xbmc.kore.provider.MediaContract;
|
||||||
import com.syncedsynapse.kore2.provider.MediaDatabase;
|
import org.xbmc.kore.provider.MediaDatabase;
|
||||||
import com.syncedsynapse.kore2.service.LibrarySyncService;
|
import org.xbmc.kore.service.LibrarySyncService;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
|
|
||||||
import butterknife.ButterKnife;
|
import butterknife.ButterKnife;
|
||||||
import butterknife.InjectView;
|
import butterknife.InjectView;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.annotation.TargetApi;
|
import android.annotation.TargetApi;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
@ -27,9 +27,9 @@ import android.view.Menu;
|
||||||
import android.view.MenuItem;
|
import android.view.MenuItem;
|
||||||
import android.view.Window;
|
import android.view.Window;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.Utils;
|
import org.xbmc.kore.utils.Utils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Controls the presentation of Movies information (list, details)
|
* Controls the presentation of Movies information (list, details)
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.annotation.TargetApi;
|
import android.annotation.TargetApi;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
@ -26,9 +26,9 @@ import android.transition.TransitionInflater;
|
||||||
import android.view.Menu;
|
import android.view.Menu;
|
||||||
import android.view.MenuItem;
|
import android.view.MenuItem;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.Utils;
|
import org.xbmc.kore.utils.Utils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Controls the presentation of Music information (list, details)
|
* Controls the presentation of Music information (list, details)
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.support.v4.app.Fragment;
|
import android.support.v4.app.Fragment;
|
||||||
|
@ -23,9 +23,9 @@ import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
|
|
||||||
import com.astuetz.PagerSlidingTabStrip;
|
import com.astuetz.PagerSlidingTabStrip;
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.TabsAdapter;
|
import org.xbmc.kore.utils.TabsAdapter;
|
||||||
|
|
||||||
import butterknife.ButterKnife;
|
import butterknife.ButterKnife;
|
||||||
import butterknife.InjectView;
|
import butterknife.InjectView;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.app.AlertDialog;
|
import android.app.AlertDialog;
|
||||||
import android.content.DialogInterface;
|
import android.content.DialogInterface;
|
||||||
|
@ -45,21 +45,21 @@ import android.widget.Toast;
|
||||||
|
|
||||||
import com.melnykov.fab.FloatingActionButton;
|
import com.melnykov.fab.FloatingActionButton;
|
||||||
import com.melnykov.fab.ObservableScrollView;
|
import com.melnykov.fab.ObservableScrollView;
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.Settings;
|
import org.xbmc.kore.Settings;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiCallback;
|
import org.xbmc.kore.jsonrpc.ApiCallback;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.event.MediaSyncEvent;
|
import org.xbmc.kore.jsonrpc.event.MediaSyncEvent;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Player;
|
import org.xbmc.kore.jsonrpc.method.Player;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Playlist;
|
import org.xbmc.kore.jsonrpc.method.Playlist;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.PlaylistType;
|
import org.xbmc.kore.jsonrpc.type.PlaylistType;
|
||||||
import com.syncedsynapse.kore2.provider.MediaContract;
|
import org.xbmc.kore.provider.MediaContract;
|
||||||
import com.syncedsynapse.kore2.service.LibrarySyncService;
|
import org.xbmc.kore.service.LibrarySyncService;
|
||||||
import com.syncedsynapse.kore2.utils.FileDownloadHelper;
|
import org.xbmc.kore.utils.FileDownloadHelper;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -44,16 +44,16 @@ import android.widget.ImageView;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.event.MediaSyncEvent;
|
import org.xbmc.kore.jsonrpc.event.MediaSyncEvent;
|
||||||
import com.syncedsynapse.kore2.provider.MediaContract;
|
import org.xbmc.kore.provider.MediaContract;
|
||||||
import com.syncedsynapse.kore2.provider.MediaDatabase;
|
import org.xbmc.kore.provider.MediaDatabase;
|
||||||
import com.syncedsynapse.kore2.service.LibrarySyncService;
|
import org.xbmc.kore.service.LibrarySyncService;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
|
|
||||||
import butterknife.ButterKnife;
|
import butterknife.ButterKnife;
|
||||||
import butterknife.InjectView;
|
import butterknife.InjectView;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -40,11 +40,11 @@ import android.widget.ImageView;
|
||||||
import android.widget.ListView;
|
import android.widget.ListView;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.ui.hosts.HostManagerActivity;
|
import org.xbmc.kore.ui.hosts.HostManagerActivity;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fragment used for managing interactions for and presentation of a navigation drawer.
|
* Fragment used for managing interactions for and presentation of a navigation drawer.
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.res.Resources;
|
import android.content.res.Resources;
|
||||||
|
@ -38,26 +38,26 @@ import android.widget.SeekBar;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.host.HostConnectionObserver;
|
import org.xbmc.kore.host.HostConnectionObserver;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiCallback;
|
import org.xbmc.kore.jsonrpc.ApiCallback;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiMethod;
|
import org.xbmc.kore.jsonrpc.ApiMethod;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.HostConnection;
|
import org.xbmc.kore.jsonrpc.HostConnection;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Addons;
|
import org.xbmc.kore.jsonrpc.method.Addons;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Application;
|
import org.xbmc.kore.jsonrpc.method.Application;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.GUI;
|
import org.xbmc.kore.jsonrpc.method.GUI;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Input;
|
import org.xbmc.kore.jsonrpc.method.Input;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Player;
|
import org.xbmc.kore.jsonrpc.method.Player;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.ApplicationType;
|
import org.xbmc.kore.jsonrpc.type.ApplicationType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.GlobalType;
|
import org.xbmc.kore.jsonrpc.type.GlobalType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.ListType;
|
import org.xbmc.kore.jsonrpc.type.ListType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.PlayerType;
|
import org.xbmc.kore.jsonrpc.type.PlayerType;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.RepeatListener;
|
import org.xbmc.kore.utils.RepeatListener;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
import com.syncedsynapse.kore2.utils.Utils;
|
import org.xbmc.kore.utils.Utils;
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@ -630,7 +630,7 @@ public class NowPlayingFragment extends Fragment
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets whats playing information
|
* Sets whats playing information
|
||||||
* @param getItemResult Return from method {@link com.syncedsynapse.kore2.jsonrpc.method.Player.GetItem}
|
* @param getItemResult Return from method {@link org.xbmc.kore.jsonrpc.method.Player.GetItem}
|
||||||
*/
|
*/
|
||||||
private void setNowPlayingInfo(PlayerType.PropertyValue getPropertiesResult,
|
private void setNowPlayingInfo(PlayerType.PropertyValue getPropertiesResult,
|
||||||
ListType.ItemsAll getItemResult) {
|
ListType.ItemsAll getItemResult) {
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
|
@ -33,21 +33,21 @@ import android.widget.PopupMenu;
|
||||||
import android.widget.RelativeLayout;
|
import android.widget.RelativeLayout;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.host.HostConnectionObserver;
|
import org.xbmc.kore.host.HostConnectionObserver;
|
||||||
import com.syncedsynapse.kore2.host.HostConnectionObserver.PlayerEventsObserver;
|
import org.xbmc.kore.host.HostConnectionObserver.PlayerEventsObserver;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiCallback;
|
import org.xbmc.kore.jsonrpc.ApiCallback;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiMethod;
|
import org.xbmc.kore.jsonrpc.ApiMethod;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Player;
|
import org.xbmc.kore.jsonrpc.method.Player;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Playlist;
|
import org.xbmc.kore.jsonrpc.method.Playlist;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.ListType;
|
import org.xbmc.kore.jsonrpc.type.ListType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.PlayerType;
|
import org.xbmc.kore.jsonrpc.type.PlayerType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.PlaylistType;
|
import org.xbmc.kore.jsonrpc.type.PlaylistType;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
import com.syncedsynapse.kore2.utils.Utils;
|
import org.xbmc.kore.utils.Utils;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
@ -370,7 +370,7 @@ public class PlaylistFragment extends Fragment
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Starts the call chain to display the playlist
|
* Starts the call chain to display the playlist
|
||||||
* @param getActivePlayerResult Return from method {@link com.syncedsynapse.kore2.jsonrpc.method.Player.GetActivePlayers}
|
* @param getActivePlayerResult Return from method {@link org.xbmc.kore.jsonrpc.method.Player.GetActivePlayers}
|
||||||
*/
|
*/
|
||||||
private void setupPlaylistInfo(final PlayerType.GetActivePlayersReturnType getActivePlayerResult,
|
private void setupPlaylistInfo(final PlayerType.GetActivePlayersReturnType getActivePlayerResult,
|
||||||
final ListType.ItemsAll getItemResult) {
|
final ListType.ItemsAll getItemResult) {
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.graphics.Point;
|
import android.graphics.Point;
|
||||||
|
@ -31,25 +31,25 @@ import android.view.ViewTreeObserver;
|
||||||
import android.widget.ImageView;
|
import android.widget.ImageView;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.Settings;
|
import org.xbmc.kore.Settings;
|
||||||
import com.syncedsynapse.kore2.host.HostConnectionObserver;
|
import org.xbmc.kore.host.HostConnectionObserver;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiCallback;
|
import org.xbmc.kore.jsonrpc.ApiCallback;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Application;
|
import org.xbmc.kore.jsonrpc.method.Application;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.AudioLibrary;
|
import org.xbmc.kore.jsonrpc.method.AudioLibrary;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Input;
|
import org.xbmc.kore.jsonrpc.method.Input;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.System;
|
import org.xbmc.kore.jsonrpc.method.System;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.VideoLibrary;
|
import org.xbmc.kore.jsonrpc.method.VideoLibrary;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.GlobalType;
|
import org.xbmc.kore.jsonrpc.type.GlobalType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.ListType;
|
import org.xbmc.kore.jsonrpc.type.ListType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.PlayerType;
|
import org.xbmc.kore.jsonrpc.type.PlayerType;
|
||||||
import com.syncedsynapse.kore2.service.NotificationService;
|
import org.xbmc.kore.service.NotificationService;
|
||||||
import com.syncedsynapse.kore2.ui.hosts.AddHostActivity;
|
import org.xbmc.kore.ui.hosts.AddHostActivity;
|
||||||
import com.syncedsynapse.kore2.ui.views.CirclePageIndicator;
|
import org.xbmc.kore.ui.views.CirclePageIndicator;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.TabsAdapter;
|
import org.xbmc.kore.utils.TabsAdapter;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
|
|
||||||
import butterknife.ButterKnife;
|
import butterknife.ButterKnife;
|
||||||
import butterknife.InjectView;
|
import butterknife.InjectView;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
|
@ -30,22 +30,22 @@ import android.widget.LinearLayout;
|
||||||
import android.widget.RelativeLayout;
|
import android.widget.RelativeLayout;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.host.HostConnectionObserver;
|
import org.xbmc.kore.host.HostConnectionObserver;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiCallback;
|
import org.xbmc.kore.jsonrpc.ApiCallback;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiMethod;
|
import org.xbmc.kore.jsonrpc.ApiMethod;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.GUI;
|
import org.xbmc.kore.jsonrpc.method.GUI;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Input;
|
import org.xbmc.kore.jsonrpc.method.Input;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Player;
|
import org.xbmc.kore.jsonrpc.method.Player;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.GlobalType;
|
import org.xbmc.kore.jsonrpc.type.GlobalType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.ListType;
|
import org.xbmc.kore.jsonrpc.type.ListType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.PlayerType;
|
import org.xbmc.kore.jsonrpc.type.PlayerType;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.RepeatListener;
|
import org.xbmc.kore.utils.RepeatListener;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
import com.syncedsynapse.kore2.utils.Utils;
|
import org.xbmc.kore.utils.Utils;
|
||||||
|
|
||||||
import butterknife.ButterKnife;
|
import butterknife.ButterKnife;
|
||||||
import butterknife.InjectView;
|
import butterknife.InjectView;
|
||||||
|
@ -375,7 +375,7 @@ public class RemoteFragment extends Fragment
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets whats playing information
|
* Sets whats playing information
|
||||||
* @param nowPlaying Return from method {@link com.syncedsynapse.kore2.jsonrpc.method.Player.GetItem}
|
* @param nowPlaying Return from method {@link org.xbmc.kore.jsonrpc.method.Player.GetItem}
|
||||||
*/
|
*/
|
||||||
private void setNowPlayingInfo(ListType.ItemsAll nowPlaying,
|
private void setNowPlayingInfo(ListType.ItemsAll nowPlaying,
|
||||||
PlayerType.PropertyValue properties) {
|
PlayerType.PropertyValue properties) {
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.app.AlertDialog;
|
import android.app.AlertDialog;
|
||||||
|
@ -29,7 +29,7 @@ import android.widget.CheckBox;
|
||||||
import android.widget.EditText;
|
import android.widget.EditText;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dialog that allows the user to send text
|
* Dialog that allows the user to send text
|
|
@ -13,9 +13,8 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.content.Intent;
|
|
||||||
import android.content.SharedPreferences;
|
import android.content.SharedPreferences;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.preference.PreferenceManager;
|
import android.preference.PreferenceManager;
|
||||||
|
@ -24,10 +23,10 @@ import android.support.v7.app.ActionBarActivity;
|
||||||
import android.support.v7.widget.Toolbar;
|
import android.support.v7.widget.Toolbar;
|
||||||
import android.view.MenuItem;
|
import android.view.MenuItem;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.Settings;
|
import org.xbmc.kore.Settings;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Presents the Preferences fragment
|
* Presents the Preferences fragment
|
|
@ -13,9 +13,8 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.content.Context;
|
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.SharedPreferences;
|
import android.content.SharedPreferences;
|
||||||
import android.content.pm.PackageManager;
|
import android.content.pm.PackageManager;
|
||||||
|
@ -24,12 +23,10 @@ import android.preference.ListPreference;
|
||||||
import android.preference.Preference;
|
import android.preference.Preference;
|
||||||
import android.preference.PreferenceFragment;
|
import android.preference.PreferenceFragment;
|
||||||
import android.support.v4.app.TaskStackBuilder;
|
import android.support.v4.app.TaskStackBuilder;
|
||||||
import android.widget.Toast;
|
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.BuildConfig;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.Settings;
|
||||||
import com.syncedsynapse.kore2.Settings;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simple fragment to display preferences screen
|
* Simple fragment to display preferences screen
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.support.v4.app.Fragment;
|
import android.support.v4.app.Fragment;
|
||||||
|
@ -23,9 +23,9 @@ import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
|
|
||||||
import com.astuetz.PagerSlidingTabStrip;
|
import com.astuetz.PagerSlidingTabStrip;
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.TabsAdapter;
|
import org.xbmc.kore.utils.TabsAdapter;
|
||||||
|
|
||||||
import butterknife.ButterKnife;
|
import butterknife.ButterKnife;
|
||||||
import butterknife.InjectView;
|
import butterknife.InjectView;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.app.AlertDialog;
|
import android.app.AlertDialog;
|
||||||
import android.content.DialogInterface;
|
import android.content.DialogInterface;
|
||||||
|
@ -44,22 +44,22 @@ import android.widget.Toast;
|
||||||
|
|
||||||
import com.melnykov.fab.FloatingActionButton;
|
import com.melnykov.fab.FloatingActionButton;
|
||||||
import com.melnykov.fab.ObservableScrollView;
|
import com.melnykov.fab.ObservableScrollView;
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.Settings;
|
import org.xbmc.kore.Settings;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiCallback;
|
import org.xbmc.kore.jsonrpc.ApiCallback;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.event.MediaSyncEvent;
|
import org.xbmc.kore.jsonrpc.event.MediaSyncEvent;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Player;
|
import org.xbmc.kore.jsonrpc.method.Player;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Playlist;
|
import org.xbmc.kore.jsonrpc.method.Playlist;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.VideoLibrary;
|
import org.xbmc.kore.jsonrpc.method.VideoLibrary;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.PlaylistType;
|
import org.xbmc.kore.jsonrpc.type.PlaylistType;
|
||||||
import com.syncedsynapse.kore2.provider.MediaContract;
|
import org.xbmc.kore.provider.MediaContract;
|
||||||
import com.syncedsynapse.kore2.service.LibrarySyncService;
|
import org.xbmc.kore.service.LibrarySyncService;
|
||||||
import com.syncedsynapse.kore2.utils.FileDownloadHelper;
|
import org.xbmc.kore.utils.FileDownloadHelper;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -44,15 +44,15 @@ import android.widget.RelativeLayout;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.Settings;
|
import org.xbmc.kore.Settings;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.event.MediaSyncEvent;
|
import org.xbmc.kore.jsonrpc.event.MediaSyncEvent;
|
||||||
import com.syncedsynapse.kore2.provider.MediaContract;
|
import org.xbmc.kore.provider.MediaContract;
|
||||||
import com.syncedsynapse.kore2.service.LibrarySyncService;
|
import org.xbmc.kore.service.LibrarySyncService;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
|
|
||||||
import butterknife.ButterKnife;
|
import butterknife.ButterKnife;
|
||||||
import butterknife.InjectView;
|
import butterknife.InjectView;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -46,17 +46,17 @@ import android.widget.ImageView;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.Settings;
|
import org.xbmc.kore.Settings;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.event.MediaSyncEvent;
|
import org.xbmc.kore.jsonrpc.event.MediaSyncEvent;
|
||||||
import com.syncedsynapse.kore2.provider.MediaContract;
|
import org.xbmc.kore.provider.MediaContract;
|
||||||
import com.syncedsynapse.kore2.provider.MediaDatabase;
|
import org.xbmc.kore.provider.MediaDatabase;
|
||||||
import com.syncedsynapse.kore2.service.LibrarySyncService;
|
import org.xbmc.kore.service.LibrarySyncService;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
|
|
||||||
import butterknife.ButterKnife;
|
import butterknife.ButterKnife;
|
||||||
import butterknife.InjectView;
|
import butterknife.InjectView;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.res.Resources;
|
import android.content.res.Resources;
|
||||||
|
@ -37,17 +37,17 @@ import android.widget.ScrollView;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.Settings;
|
import org.xbmc.kore.Settings;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.event.MediaSyncEvent;
|
import org.xbmc.kore.jsonrpc.event.MediaSyncEvent;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.VideoType;
|
import org.xbmc.kore.jsonrpc.type.VideoType;
|
||||||
import com.syncedsynapse.kore2.provider.MediaContract;
|
import org.xbmc.kore.provider.MediaContract;
|
||||||
import com.syncedsynapse.kore2.service.LibrarySyncService;
|
import org.xbmc.kore.service.LibrarySyncService;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
|
|
||||||
import java.lang.System;
|
import java.lang.System;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui;
|
package org.xbmc.kore.ui;
|
||||||
|
|
||||||
import android.annotation.TargetApi;
|
import android.annotation.TargetApi;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
@ -27,9 +27,9 @@ import android.view.Menu;
|
||||||
import android.view.MenuItem;
|
import android.view.MenuItem;
|
||||||
import android.view.Window;
|
import android.view.Window;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.Utils;
|
import org.xbmc.kore.utils.Utils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Controls the presentation of TV Shows information (list, details)
|
* Controls the presentation of TV Shows information (list, details)
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui.hosts;
|
package org.xbmc.kore.ui.hosts;
|
||||||
|
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
@ -22,11 +22,11 @@ import android.support.v7.widget.Toolbar;
|
||||||
import android.view.Menu;
|
import android.view.Menu;
|
||||||
import android.view.MenuItem;
|
import android.view.MenuItem;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.ui.BaseActivity;
|
import org.xbmc.kore.ui.BaseActivity;
|
||||||
import com.syncedsynapse.kore2.ui.RemoteActivity;
|
import org.xbmc.kore.ui.RemoteActivity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Add host wizard.
|
* Add host wizard.
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui.hosts;
|
package org.xbmc.kore.ui.hosts;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
@ -27,8 +27,8 @@ import android.view.ViewGroup;
|
||||||
import android.widget.Button;
|
import android.widget.Button;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.service.LibrarySyncService;
|
import org.xbmc.kore.service.LibrarySyncService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fragment that presents the welcome message
|
* Fragment that presents the welcome message
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui.hosts;
|
package org.xbmc.kore.ui.hosts;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
@ -26,7 +26,7 @@ import android.view.ViewGroup;
|
||||||
import android.widget.Button;
|
import android.widget.Button;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fragment that presents the welcome message
|
* Fragment that presents the welcome message
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui.hosts;
|
package org.xbmc.kore.ui.hosts;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -34,10 +34,10 @@ import android.widget.ImageView;
|
||||||
import android.widget.ProgressBar;
|
import android.widget.ProgressBar;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.NetUtils;
|
import org.xbmc.kore.utils.NetUtils;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.net.InetAddress;
|
import java.net.InetAddress;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui.hosts;
|
package org.xbmc.kore.ui.hosts;
|
||||||
|
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.content.res.TypedArray;
|
import android.content.res.TypedArray;
|
||||||
|
@ -22,10 +22,10 @@ import android.support.v7.app.ActionBar;
|
||||||
import android.view.Menu;
|
import android.view.Menu;
|
||||||
import android.view.MenuItem;
|
import android.view.MenuItem;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.ui.BaseActivity;
|
import org.xbmc.kore.ui.BaseActivity;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Edits a host
|
* Edits a host
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui.hosts;
|
package org.xbmc.kore.ui.hosts;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.app.ProgressDialog;
|
import android.app.ProgressDialog;
|
||||||
|
@ -29,14 +29,14 @@ import android.widget.Button;
|
||||||
import android.widget.EditText;
|
import android.widget.EditText;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiCallback;
|
import org.xbmc.kore.jsonrpc.ApiCallback;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiException;
|
import org.xbmc.kore.jsonrpc.ApiException;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.HostConnection;
|
import org.xbmc.kore.jsonrpc.HostConnection;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.JSONRPC;
|
import org.xbmc.kore.jsonrpc.method.JSONRPC;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.NetUtils;
|
import org.xbmc.kore.utils.NetUtils;
|
||||||
|
|
||||||
import butterknife.ButterKnife;
|
import butterknife.ButterKnife;
|
||||||
import butterknife.InjectView;
|
import butterknife.InjectView;
|
||||||
|
@ -50,7 +50,7 @@ public class HostFragmentManualConfiguration extends Fragment {
|
||||||
/**
|
/**
|
||||||
* Fragment arguments
|
* Fragment arguments
|
||||||
*/
|
*/
|
||||||
private static final String PREFIX = "com.syncedsynapse.kore2";
|
private static final String PREFIX = "org.xbmc.kore";
|
||||||
public static final String HOST_ID = PREFIX + ".host_id",
|
public static final String HOST_ID = PREFIX + ".host_id",
|
||||||
HOST_NAME = PREFIX + ".host_name",
|
HOST_NAME = PREFIX + ".host_name",
|
||||||
HOST_ADDRESS = PREFIX + ".host_address",
|
HOST_ADDRESS = PREFIX + ".host_address",
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui.hosts;
|
package org.xbmc.kore.ui.hosts;
|
||||||
|
|
||||||
import android.app.AlertDialog;
|
import android.app.AlertDialog;
|
||||||
import android.app.Dialog;
|
import android.app.Dialog;
|
||||||
|
@ -38,15 +38,15 @@ import android.widget.ImageView;
|
||||||
import android.widget.PopupMenu;
|
import android.widget.PopupMenu;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiCallback;
|
import org.xbmc.kore.jsonrpc.ApiCallback;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.HostConnection;
|
import org.xbmc.kore.jsonrpc.HostConnection;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.JSONRPC;
|
import org.xbmc.kore.jsonrpc.method.JSONRPC;
|
||||||
import com.syncedsynapse.kore2.ui.RemoteActivity;
|
import org.xbmc.kore.ui.RemoteActivity;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
import com.syncedsynapse.kore2.utils.UIUtils;
|
import org.xbmc.kore.utils.UIUtils;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui.hosts;
|
package org.xbmc.kore.ui.hosts;
|
||||||
|
|
||||||
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
|
@ -22,10 +22,10 @@ import android.support.v7.widget.Toolbar;
|
||||||
import android.view.Menu;
|
import android.view.Menu;
|
||||||
import android.view.MenuItem;
|
import android.view.MenuItem;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.ui.BaseActivity;
|
import org.xbmc.kore.ui.BaseActivity;
|
||||||
import com.syncedsynapse.kore2.ui.NavigationDrawerFragment;
|
import org.xbmc.kore.ui.NavigationDrawerFragment;
|
||||||
import com.syncedsynapse.kore2.utils.LogUtils;
|
import org.xbmc.kore.utils.LogUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Activity that presents the list of registered hosts, allowing the user to change, edit or
|
* Activity that presents the list of registered hosts, allowing the user to change, edit or
|
|
@ -14,7 +14,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui.views;
|
package org.xbmc.kore.ui.views;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.res.Resources;
|
import android.content.res.Resources;
|
||||||
|
@ -33,7 +33,7 @@ import android.view.MotionEvent;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewConfiguration;
|
import android.view.ViewConfiguration;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
|
|
||||||
import static android.graphics.Paint.ANTI_ALIAS_FLAG;
|
import static android.graphics.Paint.ANTI_ALIAS_FLAG;
|
||||||
import static android.widget.LinearLayout.HORIZONTAL;
|
import static android.widget.LinearLayout.HORIZONTAL;
|
|
@ -14,7 +14,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.ui.views;
|
package org.xbmc.kore.ui.views;
|
||||||
|
|
||||||
import android.support.v4.view.ViewPager;
|
import android.support.v4.view.ViewPager;
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.utils;
|
package org.xbmc.kore.utils;
|
||||||
|
|
||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
import android.util.Base64;
|
import android.util.Base64;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.utils;
|
package org.xbmc.kore.utils;
|
||||||
|
|
||||||
import android.graphics.Canvas;
|
import android.graphics.Canvas;
|
||||||
import android.graphics.Color;
|
import android.graphics.Color;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.utils;
|
package org.xbmc.kore.utils;
|
||||||
|
|
||||||
import android.app.DownloadManager;
|
import android.app.DownloadManager;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
@ -24,13 +24,13 @@ import android.text.TextUtils;
|
||||||
import android.util.Base64;
|
import android.util.Base64;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.ApiCallback;
|
import org.xbmc.kore.jsonrpc.ApiCallback;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.HostConnection;
|
import org.xbmc.kore.jsonrpc.HostConnection;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.Files;
|
import org.xbmc.kore.jsonrpc.method.Files;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.method.JSONRPC;
|
import org.xbmc.kore.jsonrpc.method.JSONRPC;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.FilesType;
|
import org.xbmc.kore.jsonrpc.type.FilesType;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.utils;
|
package org.xbmc.kore.utils;
|
||||||
|
|
||||||
import com.fasterxml.jackson.databind.JsonNode;
|
import com.fasterxml.jackson.databind.JsonNode;
|
||||||
import com.fasterxml.jackson.databind.node.ArrayNode;
|
import com.fasterxml.jackson.databind.node.ArrayNode;
|
|
@ -14,13 +14,13 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.syncedsynapse.kore2.utils;
|
package org.xbmc.kore.utils;
|
||||||
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.BuildConfig;
|
import org.xbmc.kore.BuildConfig;
|
||||||
import com.syncedsynapse.kore2.host.HostConnectionObserver;
|
import org.xbmc.kore.host.HostConnectionObserver;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.HostConnection;
|
import org.xbmc.kore.jsonrpc.HostConnection;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.utils;
|
package org.xbmc.kore.utils;
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
||||||
import java.io.FileReader;
|
import java.io.FileReader;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.utils;
|
package org.xbmc.kore.utils;
|
||||||
|
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
|
@ -20,7 +20,7 @@
|
||||||
* -Changed package name
|
* -Changed package name
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package com.syncedsynapse.kore2.utils;
|
package org.xbmc.kore.utils;
|
||||||
|
|
||||||
import android.content.ContentValues;
|
import android.content.ContentValues;
|
||||||
import android.database.Cursor;
|
import android.database.Cursor;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.utils;
|
package org.xbmc.kore.utils;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.utils;
|
package org.xbmc.kore.utils;
|
||||||
|
|
||||||
import android.animation.Animator;
|
import android.animation.Animator;
|
||||||
import android.annotation.TargetApi;
|
import android.annotation.TargetApi;
|
||||||
|
@ -32,13 +32,13 @@ import android.widget.ImageView;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
import com.syncedsynapse.kore2.R;
|
import org.xbmc.kore.R;
|
||||||
import com.syncedsynapse.kore2.Settings;
|
import org.xbmc.kore.Settings;
|
||||||
import com.syncedsynapse.kore2.host.HostInfo;
|
import org.xbmc.kore.host.HostInfo;
|
||||||
import com.syncedsynapse.kore2.host.HostManager;
|
import org.xbmc.kore.host.HostManager;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.GlobalType;
|
import org.xbmc.kore.jsonrpc.type.GlobalType;
|
||||||
import com.syncedsynapse.kore2.jsonrpc.type.VideoType;
|
import org.xbmc.kore.jsonrpc.type.VideoType;
|
||||||
import com.syncedsynapse.kore2.ui.RemoteActivity;
|
import org.xbmc.kore.ui.RemoteActivity;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -13,7 +13,7 @@
|
||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package com.syncedsynapse.kore2.utils;
|
package org.xbmc.kore.utils;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue