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

Songs missing in termux but found in windows #2097

Open
aneesh1122 opened this issue May 15, 2024 · 0 comments
Open

Songs missing in termux but found in windows #2097

aneesh1122 opened this issue May 15, 2024 · 0 comments
Labels
Bug Unexpected problem or unintended behavior that needs to be fixed

Comments

@aneesh1122
Copy link

aneesh1122 commented May 15, 2024

System OS

Windows

Python Version

3.11 (CPython)

Install Source

GitHub

Install version / commit hash

v4.2.5

Expected Behavior vs Actual Behavior

Songs should be downloaded irrespective of the system used to download.

Steps to reproduce - Ensure to include actual links!

  1. run the code spotdl https://open.spotify.com/track/26LCGV4oLyxI9j4zRzSUZx --lyrics synced

Traceback

~ $ spotdl https://open.spotify.com/track/26LCGV4oLyxI9j4zRzSUZx --lyrics synced --log-level DEBUG
[01:55:55] DEBUG    MainThread -       downloader.py:131
                    Downloader
                    settings:
                    {'audio_providers'
                    :
                    ['youtube-music'],
                    'lyrics_providers'
                    : ['synced'],
                    'playlist_numberin
                    g': False,
                    'scan_for_songs':
                    False, 'm3u':
                    None, 'output':
                    '{title} -
                    {artist}.{output-e
                    xt}', 'overwrite':
                    'skip',
                    'search_query':
                    None, 'ffmpeg':
                    'ffmpeg',
                    'bitrate': None,
                    'ffmpeg_args':
                    None, 'format':
                    'opus',
                    'save_file': None,
                    'filter_results':
                    True,
                    'album_type':
                    None, 'threads':
                    4, 'cookie_file':
                    None, 'restrict':
                    False,
                    'print_errors':
                    False,
                    'sponsor_block':
                    False, 'preload':
                    False, 'archive':
                    None,
                    'load_config':
                    True, 'log_level':
                    'DEBUG',
                    'simple_tui':
                    False,
                    'fetch_albums':
                    False,
                    'id3_separator':
                    '/', 'ytm_data':
                    False,
                    'add_unavailable':
                    False,
                    'generate_lrc':
                    False,
                    'force_update_meta
                    data': False,
                    'only_verified_res
                    ults': False,
                    'sync_without_dele
                    ting': False,
                    'max_filename_leng
                    th': None,
                    'yt_dlp_args':
                    None,
                    'detect_formats':
                    None,
                    'save_errors':
                    None,
                    'ignore_albums':
                    None, 'proxy':
                    None,
                    'skip_explicit':
                    False,
                    'log_format':
                    None,
                    'redownload':
                    False,
                    'skip_album_art':
                    False,
                    'create_skip_file'
                    : False,
                    'respect_skip_file
                    ': False}
[01:55:55] DEBUG    MainThread -       downloader.py:149
                    FFmpeg path:
                    ffmpeg
[01:55:55] DEBUG    MainThread - Found downloader.py:184
                    0 known songs
[01:55:55] DEBUG    MainThread -       downloader.py:231
                    Archive: 0 urls
[01:55:55] DEBUG    MainThread -       downloader.py:233
                    Downloader
                    initialized
[01:55:55] INFO     MainThread -           search.py:137
                    Processing query:
                    https://open.spotify.c
                    om/track/26LCGV4oLyxI9
                    j4zRzSUZx
[01:55:56] DEBUG    MainThread - Found 1   search.py:339
                    songs in 0 lists
[01:55:56] DEBUG    MainThread -       downloader.py:280
                    Downloading 1
                    songs
[01:55:59] DEBUG    asyncio_0 - Could  downloader.py:576
                    not search for
                    lyrics:
                    ('Connection
                    aborted.',
                    RemoteDisconnected
                    ('Remote end
                    closed connection
                    without
                    response'))
[01:55:59] DEBUG    asyncio_0 -              base.py:167
                    [26LCGV4oLyxI9j4zRzSUZx]
                    Searching for magic!,
                    girish nakod, shashwat
                    sachdev - chal hatt
[01:56:00] DEBUG    asyncio_0 -              base.py:180
                    [26LCGV4oLyxI9j4zRzSUZx]
                    Found 0 results for ISRC
                    INZ031410406
[01:56:00] DEBUG    asyncio_0 -              base.py:221
                    [26LCGV4oLyxI9j4zRzSUZx]
                    Found 4 results for
                    search query magic!,
                    girish nakod, shashwat
                    sachdev - chal hatt with
                    options {'filter':
                    'songs',
                    'ignore_spelling': True,
                    'limit': 50}
[01:56:00] DEBUG    asyncio_0 -              base.py:244
                    [26LCGV4oLyxI9j4zRzSUZx]
                    Have to filter results:
                    True
[01:56:01] DEBUG    asyncio_0 -              base.py:256
                    [26LCGV4oLyxI9j4zRzSUZx]
                    Filtered to 0 results
[01:56:02] DEBUG    asyncio_0 -              base.py:221
                    [26LCGV4oLyxI9j4zRzSUZx]
                    Found 52 results for
                    search query magic!,
                    girish nakod, shashwat
                    sachdev - chal hatt with
                    options {'filter':
                    'videos',
                    'ignore_spelling': True,
                    'limit': 50}
[01:56:02] DEBUG    asyncio_0 -              base.py:244
                    [26LCGV4oLyxI9j4zRzSUZx]
                    Have to filter results:
                    True
[01:56:02] DEBUG    asyncio_0 -              base.py:256
                    [26LCGV4oLyxI9j4zRzSUZx]
                    Filtered to 0 results
[01:56:02] DEBUG    asyncio_0 -              base.py:286
                    [26LCGV4oLyxI9j4zRzSUZx]
                    No results found
[01:56:02] DEBUG    asyncio_0 -        downloader.py:382
                    YouTubeMusic
                    failed to find
[01:56:02] ERROR    asyncio_0 -  progress_handler.py:358
                    Traceback
                    (most recent
                    call last):
                      File
                    "/data/data/
                    com.termux/f
                    iles/usr/lib
                    /python3.11/
                    site-package
                    s/spotdl/dow
                    nload/downlo
                    ader.py",
                    line 631, in
                    search_and_d
                    ownload
                        download
                    _url =
                    self.search(
                    song)

                           ^^^^^
                    ^^^^^^^^^^^^
                      File
                    "/data/data/
                    com.termux/f
                    iles/usr/lib
                    /python3.11/
                    site-package
                    s/spotdl/dow
                    nload/downlo
                    ader.py",
                    line 384, in
                    search
                        raise
                    LookupError(
                    f"No results
                    found for
                    song:
                    {song.displa
                    y_name}")
                    LookupError:
                    No results
                    found for
                    song: MAGIC!
                    - Chal Hatt

                    ╭─ Traceba─╮
                    │ /data/da │
                    │ ta/com.t │
                    │ ermux/fi │
                    │ les/usr/ │
                    │ lib/pyth │
                    │ on3.11/s │
                    │ ite-pack │
                    │ ages/spo │
                    │ tdl/down │
                    │ load/dow │
                    │ nloader. │
                    │ py:631   │
                    │ in       │
                    │ search_a │
                    │ nd_downl │
                    │ oad      │
                    │          │
                    │   628 │  │
                    │   629 │  │
                    │   630 │  │
                    │ ❱ 631 │  │
                    │   632 │  │
                    │   633 │  │
                    │   634    │
                    │          │
                    │ /data/da │
                    │ ta/com.t │
                    │ ermux/fi │
                    │ les/usr/ │
                    │ lib/pyth │
                    │ on3.11/s │
                    │ ite-pack │
                    │ ages/spo │
                    │ tdl/down │
                    │ load/dow │
                    │ nloader. │
                    │ py:384   │
                    │ in       │
                    │ search   │
                    │          │
                    │   381 │  │
                    │   382 │  │
                    │   383 │  │
                    │ ❱ 384 │  │
                    │   385 │  │
                    │   386 │  │
                    │   387 │  │
                    ╰──────────╯
                    LookupError:
                    No results
                    found for
                    song: MAGIC!
                    - Chal Hatt
[01:56:02] DEBUG    MainThread - Took entry_point.py:164
                    6 seconds



Other details

Here is the trackback for Windows downloading of the same song

spotdl https://open.spotify.com/track/26LCGV4oLyxI9j4zRzSUZx --lyrics synced --log-level DEBUG
[01:58:40] DEBUG    MainThread - Downloader settings: {'audio_providers': ['youtube-music'],           downloader.py:131
                    'lyrics_providers': ['synced'], 'playlist_numbering': False, 'scan_for_songs':
                    False, 'm3u': None, 'output': '{title} - {artist}.{output-ext}', 'overwrite':
                    'skip', 'search_query': None, 'ffmpeg': 'ffmpeg', 'bitrate': None, 'ffmpeg_args':
                    None, 'format': 'opus', 'save_file': None, 'filter_results': True, 'album_type':
                    None, 'threads': 4, 'cookie_file': None, 'restrict': False, 'print_errors': False,
                    'sponsor_block': False, 'preload': False, 'archive': None, 'load_config': True,
                    'log_level': 'DEBUG', 'simple_tui': False, 'fetch_albums': False, 'id3_separator':
                    '/', 'ytm_data': False, 'add_unavailable': False, 'generate_lrc': False,
                    'force_update_metadata': False, 'only_verified_results': False,
                    'sync_without_deleting': False, 'max_filename_length': None, 'yt_dlp_args': None,
                    'detect_formats': None, 'save_errors': None, 'ignore_albums': None, 'proxy': None,
                    'skip_explicit': False, 'log_format': None, 'redownload': False, 'skip_album_art':
                    False, 'create_skip_file': False, 'respect_skip_file': False}
[01:58:40] DEBUG    MainThread - FFmpeg path: ffmpeg                                                   downloader.py:149
[01:58:40] DEBUG    MainThread - Found 0 known songs                                                   downloader.py:184
[01:58:40] DEBUG    MainThread - Archive: 0 urls                                                       downloader.py:231
[01:58:40] DEBUG    MainThread - Downloader initialized                                                downloader.py:233
[01:58:40] INFO     MainThread - Processing query: https://open.spotify.com/track/26LCGV4oLyxI9j4zRzSUZx   search.py:137
[01:58:40] DEBUG    MainThread - Found 1 songs in 0 lists                                                  search.py:339
[01:58:40] DEBUG    MainThread - Downloading 1 songs                                                   downloader.py:280
[01:58:45] DEBUG    asyncio_0 - Could not search for lyrics: ('Connection aborted.',                   downloader.py:576
                    RemoteDisconnected('Remote end closed connection without response'))
[01:58:45] DEBUG    asyncio_0 - [26LCGV4oLyxI9j4zRzSUZx] Searching for magic!, girish nakod, shashwat        base.py:167
                    sachdev - chal hatt
[01:58:46] DEBUG    asyncio_0 - [26LCGV4oLyxI9j4zRzSUZx] Found 1 results for ISRC INZ031410406               base.py:180
[01:58:46] DEBUG    asyncio_0 - [26LCGV4oLyxI9j4zRzSUZx] Filtered to 1 ISRC results                          base.py:192
[01:58:46] DEBUG    asyncio_0 - [26LCGV4oLyxI9j4zRzSUZx] Best ISRC result is                                 base.py:201
                    https://music.youtube.com/watch?v=6-aHna73PVc with score 95.58823529411765
[01:58:46] DEBUG    asyncio_0 - Downloading MAGIC! - Chal Hatt using                                   downloader.py:654
                    https://music.youtube.com/watch?v=6-aHna73PVc
[01:58:52] INFO     asyncio_0 - Downloaded "MAGIC! - Chal Hatt":                                       downloader.py:828
                    https://music.youtube.com/watch?v=6-aHna73PVc
[01:58:52] DEBUG    MainThread - Took 12 seconds   
@aneesh1122 aneesh1122 added the Bug Unexpected problem or unintended behavior that needs to be fixed label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Unexpected problem or unintended behavior that needs to be fixed
Projects
None yet
Development

No branches or pull requests

1 participant