Skip to content
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

Downloaded tracks does not appear in system music app. #2210

Open
1 of 2 tasks
meowsocute opened this issue Jan 5, 2025 · 0 comments
Open
1 of 2 tasks

Downloaded tracks does not appear in system music app. #2210

meowsocute opened this issue Jan 5, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@meowsocute
Copy link

Is there an existing issue for this? (Please read the description)

  • I have searched the existing issues

Current Behavior

The download tracks doesn't appeare on my system music player. But when I manually rename the downloaded track it appears in my system music player's recent section.

Expected Behavior

Downloaded track appears on system music player.

Steps to reproduce

  1. Search for song.
  2. Hit download.
  3. Wait untill Download compleate.
  4. Switch to system music player.
  5. Realises track is not there.
  6. Go to download location.
  7. Rename file.
  8. Switch to system music player.
  9. It appears.

Logs

ment.rebuild (package:flutter/src/widgets/framework.dart:5333)
#704 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5599)
#705 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5593)
#706 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4468)
#707 Element.updateChild (package:flutter/src/widgets/framework.dart:3963)
#708 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5642)
#709 Element.rebuild (package:flutter/src/widgets/framework.dart:5333)
#710 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5599)
#711 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5593)
#712 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4468)
#713 Element.updateChild (package:flutter/src/widgets/framework.dart:3963)
#714 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5642)
#715 Element.rebuild (package:flutter/src/widgets/framework.dart:5333)
#716 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5599)
#717 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5593)
#718 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4468)
#719 Element.updateChild (package:flutter/src/widgets/framework.dart:3963)
#720 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5642)
#721 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5780)
#722 Element.rebuild (package:flutter/src/widgets/framework.dart:5333)
#723 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5599)
#724 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5771)
#725 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5593)
#726 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4468)
#727 Element.updateChild (package:flutter/src/widgets/framework.dart:3963)
#728 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5642)
#729 Element.rebuild (package:flutter/src/widgets/framework.dart:5333)
#730 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5599)
#731 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5593)
#732 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4468)
#733 Element.updateChild (package:flutter/src/widgets/framework.dart:3963)
#734 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5642)
#735 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5780)
#736 Element.rebuild (package:flutter/src/widgets/framework.dart:5333)
#737 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5599)
#738 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5771)
#739 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5593)
#740 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4468)
#741 Element.updateChild (package:flutter/src/widgets/framework.dart:3963)
#742 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5642)
#743 StatefulElement.performRebuild (package:flutter/src/widgets/framework.dart:5780)
#744 Element.rebuild (package:flutter/src/widgets/framework.dart:5333)
#745 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5599)
#746 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:5771)
#747 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5593)
#748 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4468)
#749 Element.updateChild (package:flutter/src/widgets/framework.dart:3963)
#750 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5642)
#751 Element.rebuild (package:flutter/src/widgets/framework.dart:5333)
#752 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5599)
#753 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5593)
#754 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4468)
#755 Element.updateChild (package:flutter/src/widgets/framework.dart:3963)
#756 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:5642)
#757 Element.rebuild (package:flutter/src/widgets/framework.dart:5333)
#758 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:5599)
#759 ComponentElement.mount (package:flutter/src/widgets/framework.dart:5593)
#760 Element.inflateWidget (package:flutter/src/widgets/framework.dart:4468)
#761 Element.updateChild (package:flutter/src/widgets/framework.dart:3963)
#762 _LayoutBuilderElement._rebuildWithConstraints.updateChildCallback (package:flutter/src/widgets/layout_builder.dart:207)
#763 BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:3038)
#764 _LayoutBuilderElement._rebuildWithConstraints (package:flutter/src/widgets/layout_builder.dart:231)
#765 RenderObject.invokeLayoutCallback. (package:flutter/src/rendering/object.dart:2719)
#766 PipelineOwner._enableMutationsToDirtySubtrees (package:flutter/src/rendering/object.dart:1098)
#767 RenderObject.invokeLayoutCallback (package:flutter/src/rendering/object.dart:2719)
#768 RenderConstrainedLayoutBuilder.rebuildIfNecessary (package:flutter/src/widgets/layout_builder.dart:278)
#769 _RenderLayoutBuilder.performLayout (package:flutter/src/widgets/layout_builder.dart:369)
#770 RenderObject.layout (package:flutter/src/rendering/object.dart:2608)
#771 MultiChildLayoutDelegate.layoutChild (package:flutter/src/rendering/custom_layout.dart:173)
#772 _ScaffoldLayout.performLayout (package:flutter/src/material/scaffold.dart:1092)
#773 MultiChildLayoutDelegate._callPerformLayout (package:flutter/src/rendering/custom_layout.dart:237)
#774 RenderCustomMultiChildLayoutBox.performLayout (package:flutter/src/rendering/custom_layout.dart:404)
#775 RenderObject.layout (package:flutter/src/rendering/object.dart:2608)
#776 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111)
#777 RenderObject.layout (package:flutter/src/rendering/object.dart:2608)
#778 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111)
#779 _RenderCustomClip.performLayout (package:flutter/src/rendering/proxy_box.dart:1448)
#780 RenderObject.layout (package:flutter/src/rendering/object.dart:2608)
#781 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111)
#782 RenderObject.layout (package:flutter/src/rendering/object.dart:2608)
#783 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111)
#784 RenderObject.layout (package:flutter/src/rendering/object.dart:2608)
#785 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111)
#786 RenderObject.layout (package:flutter/src/rendering/object.dart:2608)
#787 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111)
#788 RenderObject.layout (package:flutter/src/rendering/object.dart:2608)
#789 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111)
#790 RenderObject.layout (package:flutter/src/rendering/object.dart:2608)
#791 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111)
#792 RenderObject.layout (package:flutter/src/rendering/object.dart:2608)
#793 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111)
#794 RenderObject.layout (package:flutter/src/rendering/object.dart:2608)
#795 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111)
#796 RenderObject.layout (package:flutter/src/rendering/object.dart:2608)
#797 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111)
#798 RenderObject.layout (package:flutter/src/rendering/object.dart:2608)
#799 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111)
#800 RenderOffstage.performLayout (package:flutter/src/rendering/proxy_box.dart:3728)
#801 RenderObject.layout (package:flutter/src/rendering/object.dart:2608)
#802 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111)
#803 RenderObject.layout (package:flutter/src/rendering/object.dart:2608)
#804 _RenderTheaterMixin.layoutChild (package:flutter/src/widgets/overlay.dart:1002)
#805 _RenderTheater.performLayout (package:flutter/src/widgets/overlay.dart:1311)
#806 RenderObject.layout (package:flutter/src/rendering/object.dart:2608)
#807 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111)
#808 RenderObject.layout (package:flutter/src/rendering/object.dart:2608)
#809 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111)
#810 RenderObject.layout (package:flutter/src/rendering/object.dart:2608)
#811 RenderProxyBoxMixin.performLayout (package:flutter/src/rendering/proxy_box.dart:111)
#812 RenderObject._layoutWithoutResize (package:flutter/src/rendering/object.dart:2446)
#813 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:1052)
#814 PipelineOwner.flushLayout (package:flutter/src/rendering/object.dart:1065)
#815 RendererBinding.drawFrame (package:flutter/src/rendering/binding.dart:602)
#816 WidgetsBinding.drawFrame (package:flutter/src/widgets/binding.dart:1164)
#817 RendererBinding._handlePersistentFrameCallback (package:flutter/src/rendering/binding.dart:468)
#818 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1397)
#819 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1318)
#820 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1176)
#821 _rootRun (dart:async/zone.dart:1399)
#822 _CustomZone.run (dart:async/zone.dart:1301)
#823 _CustomZone.runGuarded (dart:async/zone.dart:1209)
#824 _invoke (dart:ui/hooks.dart:314)
#825 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:419)
#826 _drawFrame (dart:ui/hooks.dart:283)


[2025-01-05 11:03:52.038294]---------------------
ClientException with SocketException: Failed host lookup: 'accounts.spotify.com' (OS Error: No address associated with hostname, errno = 7), uri=https://accounts.spotify.com/api/token
#0 IOClient.send (package:http/src/io_client.dart:154)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 clientCredentialsGrant (package:oauth2/src/client_credentials_grant.dart:71)

#3 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#4 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#5 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#6 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)

#7 AlbumReleasesNotifier.fetch (package:spotube/provider/spotify/album/releases.dart:35)

#8 AlbumReleasesNotifier.build (package:spotube/provider/spotify/album/releases.dart:50)

#9 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)


[2025-01-05 11:03:52.117004]---------------------
DioException [connection error]: The connection errored: Failed host lookup: 'guc-spclient.spotify.com' This indicates an error which most likely cannot be solved by the library.
Error: SocketException: Failed host lookup: 'guc-spclient.spotify.com' (OS Error: No address associated with hostname, errno = 7)
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:520)

#1 CustomSpotifyEndpoints.getFriendActivity (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:113)

#2 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)


[2025-01-05 11:03:55.211496]---------------------
ClientException with SocketException: Failed host lookup: 'accounts.spotify.com' (OS Error: No address associated with hostname, errno = 7), uri=https://accounts.spotify.com/api/token
#0 IOClient.send (package:http/src/io_client.dart:154)

#1 BaseClient._sendUnstreamed (package:http/src/base_client.dart:93)

#2 clientCredentialsGrant (package:oauth2/src/client_credentials_grant.dart:71)

#3 SpotifyApiBase._getImpl. (package:spotify/src/spotify_base.dart:211)

#4 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:247)

#5 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210)

#6 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:253)

#7 AlbumReleasesNotifier.fetch (package:spotube/provider/spotify/album/releases.dart:35)

#8 AlbumReleasesNotifier.build (package:spotube/provider/spotify/album/releases.dart:50)

#9 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)


[2025-01-05 11:03:55.234045]---------------------
DioException [connection error]: The connection errored: Failed host lookup: 'raw.githubusercontent.com' This indicates an error which most likely cannot be solved by the library.
Error: SocketException: Failed host lookup: 'raw.githubusercontent.com' (OS Error: No address associated with hostname, errno = 7)
#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:520)

#1 PipedClient.instanceList (package:piped_client/src/client.dart:54)

#2 pipedInstancesFutureProvider. (package:spotube/provider/audio_player/sources/piped_instances_provider.dart:11)

#3 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)


[2025-01-05 11:09:57.011395]---------------------
NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling:
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:38)
#1 _objectNoSuchMethod (dart:core-patch/object_patch.dart:85)
#2 transformSectionItemTypeJsonMap (package:spotube/models/spotify/home_feed.dart:174)
#3 transformSectionItemJsonMap. (package:spotube/models/spotify/home_feed.dart:220)
#4 MappedIterable.elementAt (dart:_internal/iterable.dart:385)
#5 ListIterator.moveNext (dart:_internal/iterable.dart:354)
#6 WhereIterator.moveNext (dart:_internal/iterable.dart:450)
#7 new _GrowableList._ofOther (dart:core-patch/growable_array.dart:202)
#8 new _GrowableList.of (dart:core-patch/growable_array.dart:152)
#9 new List.of (dart:core-patch/array_patch.dart:39)
#10 Iterable.toList (dart:core/iterable.dart:498)
#11 transformSectionItemJsonMap (package:spotube/models/spotify/home_feed.dart:229)
#12 transformHomeFeedJsonMap. (package:spotube/models/spotify/home_feed.dart:241)
#13 MappedIterable.elementAt (dart:_internal/iterable.dart:385)
#14 ListIterator.moveNext (dart:_internal/iterable.dart:354)
#15 new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:189)
#16 new _GrowableList.of (dart:core-patch/growable_array.dart:150)
#17 new List.of (dart:core-patch/array_patch.dart:39)
#18 ListIterable.toList (dart:_internal/iterable.dart:224)
#19 transformHomeFeedJsonMap (package:spotube/models/spotify/home_feed.dart:244)
#20 CustomSpotifyEndpoints.getHomeFeed (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:164)

#21 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)


Operating System

Android 10

Spotube version

v3.9.0

Installation source

F-Droid (Android)

Additional information

System Music player: Samsung Music
Spotube download location: Default (Download/Spotube)

Steps to resolve the issue: Manually rename the file.

Self grab

  • I'm ready to work on this issue!
@meowsocute meowsocute added the bug Something isn't working label Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant