Advertisement
Guest User

Untitled

a guest
Mar 13th, 2023
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. music_video:
  2. # Set the download details
  3. download:
  4. # We will only use a single URL to download music video(s).
  5. # Make {url} an override variable to set later.
  6. download_strategy: "url"
  7. url: "{url}"
  8.  
  9. # For advanced YTDL users only; any YTDL parameter can be set here.
  10. # To download age-restricted videos, you will need to set your cookie
  11. # file here as a ytdl parameter. For more info, see
  12. # https://ytdl-sub.readthedocs.io/en/latest/faq.html#download-age-restricted-youtube-videos
  13. ytdl_options:
  14. # cookiefile: "path/to/cookie_file.txt
  15. break_on_existing: False # Stop downloads if it already exists
  16.  
  17. # For each video downloaded, set the file and thumbnail name here.
  18. # We set both with {music_video_name}, which is a variable we define in
  19. # the overrides section further below to represent consistent naming format.
  20. output_options:
  21. output_directory: "{music_video_directory}"
  22. file_name: "{music_video_name}.{ext}"
  23. thumbnail_name: "{music_video_name}-thumb.jpg"
  24. info_json_name: "{music_video_name}.{info_json_ext}"
  25. maintain_download_archive: True
  26.  
  27. # For each video downloaded, add a music video NFO file for it. Populate it
  28. # with tags that Kodi will read and use to display it in the music or music
  29. # videos section.
  30. nfo_tags:
  31. nfo_name: "{music_video_name}.nfo"
  32. nfo_root: "musicvideo"
  33. tags:
  34. artist: "{artist}"
  35. title: "{title}"
  36. album: "Music Videos"
  37. year: "{upload_year}"
  38.  
  39. # Overrides is a section where we can define our own variables, and use them in
  40. # any other section. We define our music video directory and episode file name
  41. # here, which gets reused above for the video, thumbnail, and NFO file.
  42. # Recommended to override the artist variable since {channel} is not always
  43. # the artist's exact name.
  44. overrides:
  45. music_video_directory: "/music_videos"
  46. music_video_name: "{artist_sanitized}/{artist_sanitized} - {title_sanitized}"
  47. artist: "{channel}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement