question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some songs can't find metadata from itunes.

See original GitHub issue

Bug report

Version Info

  • Ytmdl version: 2020.11.20-1
  • Youtube-dl version: 2020.11.01.1

How Ytmdl was installed?

From pip3

Console Log

$ ytmdl アカシア --level DEBUG
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.2) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
 ==>  Logger running in DEBUG mode
 ==>  Passed args: Namespace(SONG_NAME=['アカシア'], album=None, artist=None, choice=None, disable_file=False, disable_metaadd=False, format='mp3', get_opts=False, ignore_errors=False, level='DEBUG', list=None, list_level=False, manual_meta=False, nolocal=False, pl_end=None, pl_items=None, pl_start=None, proxy=None, quiet=False, skip_meta=False, song=None, trim=False, url=None)
 ==>  ['アカシア']
 ==>  アカシア
 ==>  Searching to see if already present in /home/tenny/Music
 ==>  proxy passed: None
 ==>  Passed format: mp3
 ==>  Searching Youtube for アカシア
 ==> Choose One (One with [M] is verified music)
 [1] 【Official】Pokémon Special Music Video 「GOTCHA!」 | BUMP OF CHICKEN - Acacia by ポケモン公式YouTubeチャンネル with dur 3:15
 [2] [M] Acacia by BUMP OF CHICKEN with dur 4:23
 [3] 「Acacia」 フル【60分耐久】BUMP OF CHICKEN by すいそまる with dur 1:03:48
 [4] 【公式】『ポケモン ソード・シールド + エキスパンションパス』スペシャル PV | BUMP OF CHICKEN - アカシア by ポケモン公式YouTubeチャンネル with dur 3:22
 [5] 【MAD】アニメ ポケットモンスター 『アカシア ーAcaciaー』『GOTCHA!』Pokémon by アレルヤ with dur 4:19
 [0] More results
 ==> Enter Choice [default is 1] 2
 ==>  {'title': 'Acacia', 'href': '/watch?v=4dnT-kKIO6Y', 'author_name': 'BUMP OF CHICKEN', 'duration': '4:23', 'verified_music': True}
 ==>  Downloading Acacia in 320kbps
 ==>  Saving the files to: /home/tenny/.cache/ytmdl
 ==>  /home/tenny/.cache/ytmdl/Acacia.mp3
4 MB   | 8 Mb/s || ETA: 5 s                                                                                                           |▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓| 100% ==>  Downloaded!
 ==>  Converting to mp3...
 ==>  Skip Meta: False
 ==>  Getting song data for アカシア...
 ==> Setting data...
 ==> Choose One
 [1] Magic by Highlnd & Akacia
 [2] Home by Miqui Brightside & Akacia
 [3] Mary by Akacia
 [4] Run by Alvaro Delgado, Alltair & Akacia
 [5] In the Air by Akacia
 [0] More results
 ==> Enter Choice [default is 1] 0
 [6] Unfading Divine by Akacia
 [7] Mystery by Akacia
 [8] Fear by Darwin, Mainecoon & Akacia
 [9] Acacia by EXILE THE SECOND
 [10] Smoke & Mirrors by ShyGhy & Akacia
 [0] More results
 ==> Enter Choice [default is 1]

Description

For example this song is on itunes (and youtube music, amazon music, spotify…), but ytmdl cannot find any related metadata.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Tennyleazcommented, Dec 29, 2020

@deepjyoti30 Using commit 868a133 with argument ytmdl アカシア --artist 'Bump of chicken' --disable-sort finally shows correct metadata. Thanks!

1reaction
deepjyoti30commented, Dec 22, 2020

@Tennyleaz Added a flag --disable-sort to disable the sorting before showing the metadata to the user.

Tried with your song as well, it’s working fine. Feel free to try the commit and report back here if you find any bug.

The commit is 868a1339095e7bd86ff0585ef442e460724b316a

Read more comments on GitHub >

github_iconTop Results From Across the Web

Where is song metadata stored - library or in-file?
The song-related metadata such as Title, Artist and Album are stored in the file itself, except for WAV files, in which case iTunes...
Read more >
Missing tracks or albums in Sonos music library
You'll need a media library management tool like iTunes to view and edit the metadata on your music files. After making any changes...
Read more >
Using iTunes to embed metadata - YouTube
Mark shows an example of adding track information into an aiff file to make it easier to find in a search engine. Check...
Read more >
Fix Incorrect or Missing Track Info in iTunes and Music App
It is not uncommon to have songs in iTunes that are missing artwork and track information. This can make it harder to identify...
Read more >
How can I find files that don't contain specific metadata?
These files do not play in the Apple Music app, even though they look fine there-- there's no outward indication of a problem....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found