-
-
Notifications
You must be signed in to change notification settings - Fork 457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove GsonJsonSerializer #2145
Conversation
@@ -130,7 +130,7 @@ | |||
|
|||
private DisplayMetrics mMetrics; | |||
|
|||
protected BaseItemDto mProgramInfo; | |||
protected org.jellyfin.sdk.model.api.BaseItemDto mProgramInfo; |
Check notice
Code scanning / Android Lint
Unknown nullness
@@ -1451,17 +1446,17 @@ | |||
}; | |||
|
|||
RecordPopup mRecordPopup; | |||
public void showRecordingOptions(String id, final BaseItemDto program, final boolean recordSeries) { | |||
public void showRecordingOptions(String id, final org.jellyfin.sdk.model.api.BaseItemDto program, final boolean recordSeries) { |
Check notice
Code scanning / Android Lint
Unknown nullness
@@ -1451,17 +1446,17 @@ | |||
}; | |||
|
|||
RecordPopup mRecordPopup; | |||
public void showRecordingOptions(String id, final BaseItemDto program, final boolean recordSeries) { | |||
public void showRecordingOptions(String id, final org.jellyfin.sdk.model.api.BaseItemDto program, final boolean recordSeries) { |
Check notice
Code scanning / Android Lint
Unknown nullness
@@ -41,3 +49,25 @@ | |||
?: audioStreams.firstOrNull { it.isDefault } | |||
?: audioStreams.firstOrNull() | |||
} | |||
|
|||
object FakeBaseItem { | |||
val FAV_SONGS_ID = UUID.fromString("11111111-0000-0000-0000-000000000001") |
Check notice
Code scanning / Android Lint
Unknown nullness
isFolder = true, | ||
) | ||
|
||
val SERIES_TIMERS_ID = UUID.fromString("11111111-0000-0000-0000-000000000002") |
Check notice
Code scanning / Android Lint
Unknown nullness
collectionType = "SeriesTimers", | ||
) | ||
|
||
val TV_RECORDINGS_ID = UUID.fromString("11111111-0000-0000-0000-000000000003") |
Check notice
Code scanning / Android Lint
Unknown nullness
Also migrates a bunch of stuff to the SDK so we can use kotlinx.serialization
be11010
to
efd9ed0
Compare
Also migrates a bunch of stuff to the SDK so we can use kotlinx.serialization
Changes
FakeBaseItem
for hacky codeIssues