Youtube-DL.exe text encoding (1 Viewer)

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,366
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #2
    And how to fix dannіe on last.fm? And then Iron Maiden on mbid has id ca891d65-d9b0-4258-89f7-e6ba29d83767 and 7c3762a3-51f8-4cf3-8565-1ee26a90efe2 on last.fm.
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    I can't fix errors on last.fm I just use the MBID that last.fm gives me. If the MBID is blank then I use the last.fm name to get an MBID from audiodb.com. I also make an array with a list of names, but I don't do anything with that array at this stage, but it is there if I decide to add additional look ups.
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,366
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #4
    @kiwijunglist
    Why youtube-dl.ehe corrupts file names? Maybe there are some key? Or setting?
    Code:
    D:\Work\Programming\Delphi\MePoTools>youtube-dl.exe http://www.youtube.com/watch?v=-fSFu-ZaX0w -o "D:\Work\Programming\Delphi\MePoTools\Video\Mötley Crüe - Kickstart My Heart.avi" -f 5
    [youtube] Setting language
    [youtube] -fSFu-ZaX0w: Downloading video webpage
    [youtube] -fSFu-ZaX0w: Downloading video info webpage
    [youtube] -fSFu-ZaX0w: Extracting video information
    [download] Destination: D:\Work\Programming\Delphi\MePoTools\Video\Motley Crue - Kickstart My Heart.avi

    Mötley Crüe - Kickstart My Heart <> Motley Crue - Kickstart My Heart
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    hmm i dont know. i dont seem to have this problem in my script.
    some downloaded files

    Röyksopp - Remind Me.mp4
    Lamb - Górecki.flv
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,366
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #6
    Try type cmd.exe Then youtube-dl.exe blahblahblah , does it still break the filename?
    Code:
    D:\Work\Programming\Delphi\MePoTools>gramming\Delphi\MePoTools\youtube-dl.exe http://www.youtube.com/watch?v=-fSFu-ZaX0w -o "D:\Work\Programming\Delphi\MePoTools\Video\Mötley Crüe - Kickstart My Heart.avi" -v -w
    [debug] System config: []
    [debug] User config: []
    [debug] Command-line args: ['http://www.youtube.com/watch?v=-fSFu-ZaX0w', '-o', 'D:\\Work\\Programming\\Delphi\\MePoTools\\Video\\Motley Crue - Kickstart My Heart.avi', '-v', '-w']
    [debug] youtube-dl version 2013.08.09
    [debug] Python version 2.7.3 - Windows-7-6.1.7601-SP1
    [debug] Proxy map: {'ftp': 'ftp://gray-fish.blackhole.net:3128', 'http': 'http://gray-fish.blackhole.net:3128', 'https': 'https://gray-fish.blackhole.net:3128'}
    [youtube] Setting language
    [youtube] -fSFu-ZaX0w: Downloading video webpage
    [youtube] -fSFu-ZaX0w: Downloading video info webpage
    [youtube] -fSFu-ZaX0w: Extracting video information
     

    kiwijunglist

    Super Moderator
  • Team MediaPortal
  • June 10, 2008
    6,746
    1,751
    New Zealand
    Home Country
    New Zealand New Zealand
    ask on youtube-dl site ?

    https://github.com/rg3/youtube-dl/issues/1236

    Do you think the CMD prompt is changing the characters (because inside my script it works!)

    from my script:
    [youtube] Setting language
    [youtube] QXnTuUDCIJo: Downloading video webpage
    [youtube] QXnTuUDCIJo: Downloading video info webpage
    [youtube] QXnTuUDCIJo: Extracting video information
    [download] Destination: D:\new music videos\Close - Télépopmusik.flv

    [download] 0.0% of 7.52MiB at 10.99KiB/s ETA 11:48
    [download] 0.0% of 7.52MiB at 32.61KiB/s ETA 03:55
    [download] 0.1% of 7.52MiB at 73.68KiB/s ETA 01:44
    [download] 0.2% of 7.52MiB at 147.06KiB/s ETA 00:52
    [download] 0.4% of 7.52MiB at 155.00KiB/s ETA 00:49
    [download] 0.8% of 7.52MiB at 233.33KiB/s ETA 00:32
    [download] 1.6% of 7.52MiB at 301.66KiB/s ETA 00:25
     
    Last edited:

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,955
    1,264
    Saratov
    Home Country
    Russian Federation Russian Federation
    Now russian letters are good. youtube-dl showing them in wrong encoding but saving file in right encoding
     

    Attachments

    • 2013-08-13_201142.jpg
      2013-08-13_201142.jpg
      10.7 KB

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,366
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #10
    @Edalex
    Babylon, which is, I can not overcome the problem of umlauts in the same program, and then vice versa, umlauts, right, and Russian letters are not. ;)
     

    Users who are viewing this thread

    Top Bottom