You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Import playlist file by selecting "FreeTube" format
Expected behavior
The file is loaded, the playlists are created and populated. I get the same playlist as on my FreeTube application on my PC.
Actual behavior
An error message is displayed :
kotlinx.serialization.json.internal.JsonDecodingException: Unexpected JSON token at offset 0: Expected start of the array '[', but had '{' instead at path: $
JSON input: {"playlistName":"Favorites","p.....
at kotlinx.serialization.json.internal.WriteModeKt.JsonDecodingException(SourceFile:1)
at kotlinx.serialization.json.internal.WriteModeKt.JsonDecodingException(SourceFile:2)
at kotlinx.serialization.json.internal.AbstractJsonLexer.fail(SourceFile:52)
at kotlinx.serialization.json.internal.AbstractJsonLexer.fail$default(SourceFile:13)
at kotlinx.serialization.json.internal.AbstractJsonLexer.fail$kotlinx_serialization_json(SourceFile:56)
at kotlinx.serialization.json.internal.AbstractJsonLexer.unexpectedToken(SourceFile:48)
at kotlinx.serialization.json.internal.AbstractJsonLexer.consumeNextToken(SourceFile:9)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.beginStructure(SourceFile:60)
at kotlinx.serialization.internal.AbstractCollectionSerializer.merge(SourceFile:18)
at kotlinx.serialization.internal.AbstractCollectionSerializer.deserialize(SourceFile:6)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue$1(SourceFile:92)
at kotlin.random.RandomKt.decodeByReader(SourceFile:31)
at org.jsoup.Jsoup.decodeFromStream(SourceFile:31)
at com.github.libretube.helpers.BackupHelper.importPlaylists(SourceFile:606)
at com.github.libretube.ui.preferences.BackupRestoreSettings$getPlaylistsFile$1$1$1.invokeSuspend(SourceFile:48)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9)
at kotlinx.coroutines.DispatchedTask.run(SourceFile:113)
at androidx.work.impl.WorkerWrapper$1.run(SourceFile:110)
at kotlinx.coroutines.scheduling.TaskImpl.run(SourceFile:3)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:96)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@5a83ee0, Dispatchers.IO]
If I do it a second time, the app crashes.
The playlists are not created.
LibreTube version
0.25.2 (57)
Android version
GrapheneOS based on Android 14 2024101200
Other details
FreeTube version is v0.21.3 Beta
Attached playlist file from FreeTube (zipped so that Github accepts it) freetube-playlists.zip.zip
Acknowledgements
I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
I have written a short but informative title.
I will fill out all of the requested information in this form.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Expected behavior
The file is loaded, the playlists are created and populated. I get the same playlist as on my FreeTube application on my PC.
Actual behavior
An error message is displayed :
If I do it a second time, the app crashes.
The playlists are not created.
LibreTube version
0.25.2 (57)
Android version
GrapheneOS based on Android 14 2024101200
Other details
FreeTube version is v0.21.3 Beta
Attached playlist file from FreeTube (zipped so that Github accepts it)
freetube-playlists.zip.zip
Acknowledgements
The text was updated successfully, but these errors were encountered: