]> gitweb @ CieloNegro.org - youtube-dl.git/commit
Fix filename extension leaking to json filename
authorJanez Troha <dz0ny@users.noreply.github.com>
Wed, 13 Nov 2013 17:34:03 +0000 (18:34 +0100)
committerJanez Troha <dz0ny@users.noreply.github.com>
Wed, 13 Nov 2013 17:34:03 +0000 (18:34 +0100)
commit9771cceb2cfab153d0c2a5b0a7dbc923de90f2c1
tree724a31b8bddab6a56ee5315c01ac21a23c8f550b
parentca715127a2f95da30b6700a5e217a2acc904b459
Fix filename extension leaking to json filename

Makes writeinfojson behaving exactly as writethumbnail in case where filename contains mediafile extension.

Case:

video.mp4 converted to music.mp3 would yield music.mp4.info.json instead music.mp3.info.json or music.info.json
youtube_dl/YoutubeDL.py