switch instant mixes to use Ids

This commit is contained in:
Luke Pulverenti 2015-03-13 12:43:38 -04:00
parent c3e95ab9fc
commit 534bf3912f
3 changed files with 26 additions and 104 deletions

122
.idea/workspace.xml generated
View File

@ -8,8 +8,8 @@
<component name="ChangeListManager">
<list default="true" id="5b626835-6518-4586-bf6c-5bbba32974d2" name="Default" comment="">
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/out/artifacts/MediaBrowser_ApiClient_Java_jar/MediaBrowser.ApiClient.Java.jar" afterPath="$PROJECT_DIR$/out/artifacts/MediaBrowser_ApiClient_Java_jar/MediaBrowser.ApiClient.Java.jar" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/mediabrowser/apiinteraction/connectionmanager/ConnectionManager.java" afterPath="$PROJECT_DIR$/src/mediabrowser/apiinteraction/connectionmanager/ConnectionManager.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/mediabrowser/apiinteraction/connectionmanager/GetRegistrationInfoFindServersResponse.java" afterPath="$PROJECT_DIR$/src/mediabrowser/apiinteraction/connectionmanager/GetRegistrationInfoFindServersResponse.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/mediabrowser/apiinteraction/ApiClient.java" afterPath="$PROJECT_DIR$/src/mediabrowser/apiinteraction/ApiClient.java" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
</list>
<ignored path="MediaBrowser.ApiClient.Java.iws" />
<ignored path=".idea/workspace.xml" />
@ -36,81 +36,11 @@
</component>
<component name="FileEditorManager">
<leaf>
<file leaf-file-name="GetRegistrationInfoFindServersResponse.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/mediabrowser/apiinteraction/connectionmanager/GetRegistrationInfoFindServersResponse.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="17" max-vertical-offset="1411">
<caret line="29" column="51" selection-start-line="29" selection-start-column="51" selection-end-line="29" selection-end-column="51" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="GetRegistrationInfoInnerResponse.java" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/mediabrowser/apiinteraction/connectionmanager/GetRegistrationInfoInnerResponse.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.2715655" vertical-offset="0" max-vertical-offset="1252">
<caret line="20" column="39" selection-start-line="20" selection-start-column="39" selection-end-line="20" selection-end-column="39" />
<folding>
<element signature="imports" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="SerializedResponse.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/mediabrowser/apiinteraction/SerializedResponse.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="136" max-vertical-offset="612">
<caret line="9" column="14" selection-start-line="9" selection-start-column="14" selection-end-line="9" selection-end-column="14" />
<folding>
<element signature="e#786#787#0" expanded="true" />
<element signature="e#831#832#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="ApiClient.java" pinned="false" current-in-tab="false">
<file leaf-file-name="ApiClient.java" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/src/mediabrowser/apiinteraction/ApiClient.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="2595" max-vertical-offset="42449">
<caret line="257" column="0" selection-start-line="257" selection-start-column="0" selection-end-line="257" selection-end-column="0" />
<folding>
<element signature="e#3734#3735#0" expanded="true" />
<element signature="e#3780#3781#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="ConnectionManager.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/mediabrowser/apiinteraction/connectionmanager/ConnectionManager.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="10933" max-vertical-offset="12172">
<caret line="742" column="67" selection-start-line="742" selection-start-column="67" selection-end-line="742" selection-end-column="67" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="FindServersInnerResponse.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/mediabrowser/apiinteraction/connectionmanager/FindServersInnerResponse.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="102" max-vertical-offset="1292">
<caret line="11" column="48" selection-start-line="11" selection-start-column="48" selection-end-line="11" selection-end-column="48" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="IConnectionManager.java" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/src/mediabrowser/apiinteraction/IConnectionManager.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="544" max-vertical-offset="680">
<caret line="44" column="75" selection-start-line="44" selection-start-column="75" selection-end-line="44" selection-end-column="75" />
<state vertical-scroll-proportion="0.3892562" vertical-offset="8046" max-vertical-offset="42415">
<caret line="571" column="37" selection-start-line="571" selection-start-column="37" selection-end-line="571" selection-end-column="37" />
<folding />
</state>
</provider>
@ -144,10 +74,10 @@
<option value="$PROJECT_DIR$/src/mediabrowser/apiinteraction/SerializedResponse.java" />
<option value="$PROJECT_DIR$/src/mediabrowser/apiinteraction/IConnectionManager.java" />
<option value="$PROJECT_DIR$/src/mediabrowser/apiinteraction/connectionmanager/FindServersInnerResponse.java" />
<option value="$PROJECT_DIR$/src/mediabrowser/apiinteraction/ApiClient.java" />
<option value="$PROJECT_DIR$/src/mediabrowser/apiinteraction/connectionmanager/GetRegistrationInfoInnerResponse.java" />
<option value="$PROJECT_DIR$/src/mediabrowser/apiinteraction/connectionmanager/GetRegistrationInfoFindServersResponse.java" />
<option value="$PROJECT_DIR$/src/mediabrowser/apiinteraction/connectionmanager/ConnectionManager.java" />
<option value="$PROJECT_DIR$/src/mediabrowser/apiinteraction/ApiClient.java" />
</list>
</option>
</component>
@ -180,6 +110,7 @@
<sortByType />
</navigator>
<panes>
<pane id="Scope" />
<pane id="ProjectPane">
<subPane>
<PATH>
@ -462,7 +393,6 @@
</PATH>
</subPane>
</pane>
<pane id="Scope" />
<pane id="PackagesPane" />
</panes>
</component>
@ -660,7 +590,7 @@
</component>
<component name="ToolWindowManager">
<frame x="130" y="3" width="2011" height="1389" extended-state="0" />
<editor active="true" />
<editor active="false" />
<layout>
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
<window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
@ -1025,7 +955,7 @@
</entry>
<entry file="file://$PROJECT_DIR$/src/mediabrowser/apiinteraction/SerializedResponse.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="612">
<state vertical-scroll-proportion="0.1086262" vertical-offset="0" max-vertical-offset="1252">
<caret line="9" column="14" selection-start-line="9" selection-start-column="14" selection-end-line="9" selection-end-column="14" />
<folding>
<element signature="e#786#787#0" expanded="true" />
@ -1036,28 +966,15 @@
</entry>
<entry file="file://$PROJECT_DIR$/src/mediabrowser/apiinteraction/IConnectionManager.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="680">
<state vertical-scroll-proportion="0.4345048" vertical-offset="0" max-vertical-offset="1252">
<caret line="44" column="75" selection-start-line="44" selection-start-column="75" selection-end-line="44" selection-end-column="75" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/mediabrowser/apiinteraction/ApiClient.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="2595" max-vertical-offset="42449">
<caret line="257" column="0" selection-start-line="257" selection-start-column="0" selection-end-line="257" selection-end-column="0" />
<folding>
<element signature="e#3734#3735#0" expanded="true" />
<element signature="e#3780#3781#0" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/mediabrowser/apiinteraction/connectionmanager/FindServersInnerResponse.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1292">
<state vertical-scroll-proportion="0.04952077" vertical-offset="40" max-vertical-offset="1292">
<caret line="11" column="48" selection-start-line="11" selection-start-column="48" selection-end-line="11" selection-end-column="48" />
<folding />
</state>
</provider>
</entry>
@ -1073,7 +990,7 @@
</entry>
<entry file="file://$PROJECT_DIR$/src/mediabrowser/apiinteraction/connectionmanager/ConnectionManager.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.0" vertical-offset="10933" max-vertical-offset="12172">
<state vertical-scroll-proportion="0.8765133" vertical-offset="10933" max-vertical-offset="12172">
<caret line="742" column="67" selection-start-line="742" selection-start-column="67" selection-end-line="742" selection-end-column="67" />
<folding />
</state>
@ -1081,11 +998,16 @@
</entry>
<entry file="file://$PROJECT_DIR$/src/mediabrowser/apiinteraction/connectionmanager/GetRegistrationInfoInnerResponse.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.2715655" vertical-offset="0" max-vertical-offset="1252">
<caret line="20" column="39" selection-start-line="20" selection-start-column="39" selection-end-line="20" selection-end-column="39" />
<folding>
<element signature="imports" expanded="true" />
</folding>
<state vertical-scroll-proportion="0.5838658" vertical-offset="0" max-vertical-offset="1252">
<caret line="43" column="0" selection-start-line="43" selection-start-column="0" selection-end-line="43" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/src/mediabrowser/apiinteraction/ApiClient.java">
<provider selected="true" editor-type-id="text-editor">
<state vertical-scroll-proportion="0.3892562" vertical-offset="8046" max-vertical-offset="42415">
<caret line="571" column="37" selection-start-line="571" selection-start-column="37" selection-end-line="571" selection-end-column="37" />
<folding />
</state>
</provider>
</entry>

View File

@ -544,14 +544,14 @@ public class ApiClient extends BaseApiClient {
/// <param name="query">The query.</param>
/// <returns>Task{ItemsResult}.</returns>
/// <exception cref="System.IllegalArgumentException">query</exception>
public void GetInstantMixFromArtistAsync(SimilarItemsByNameQuery query, final Response<ItemsResult> response)
public void GetInstantMixFromArtistAsync(SimilarItemsQuery query, final Response<ItemsResult> response)
{
if (query == null)
{
throw new IllegalArgumentException("query");
}
String url = GetInstantMixByNameUrl(query, "Artists");
String url = GetInstantMixUrl(query, "Artists");
GetItemsFromUrl(url, response);
}
@ -562,14 +562,14 @@ public class ApiClient extends BaseApiClient {
/// <param name="query">The query.</param>
/// <returns>Task{ItemsResult}.</returns>
/// <exception cref="System.IllegalArgumentException">query</exception>
public void GetInstantMixFromMusicGenreAsync(SimilarItemsByNameQuery query, final Response<ItemsResult> response)
public void GetInstantMixFromMusicGenreAsync(SimilarItemsQuery query, final Response<ItemsResult> response)
{
if (query == null)
{
throw new IllegalArgumentException("query");
}
String url = GetInstantMixByNameUrl(query, "MusicGenres");
String url = GetInstantMixUrl(query, "MusicGenres");
GetItemsFromUrl(url, response);
}