Advertisement
ZaxonXP45

Modarchive.org download and clean up

Oct 13th, 2022 (edited)
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.64 KB | None | 0 0
  1. Scripts for downloading and sorting Scene music from http://modarchive.org
  2. ==========================================================================
  3. A) Requirements:
  4.  
  5.     - lynx - for making query to the web page in an easy way
  6.     - wget - for downloading the music files
  7.     - 7z   - for repacking the music files for smaller size
  8.     - openmpt123 - for modules playback (best module player)
  9.  
  10. B) Brief description of the scripts:
  11.  
  12. 1) get_modarchive_mods.sh - https://pastebin.com/RZ1BKDy9
  13.  
  14. Gets the first (or many) page(s) of favorite results and download it in the
  15. ../Downloaded folder. This also creates "downloaded" list with the
  16. genre information (used to skip already downloaded files).
  17.  
  18. - if ran without parameter it gets next page of results.
  19. - if ran with number then it gets the specific page of the results
  20. - if ran with two numbers then it gets modules from first specified
  21.   page parameter to the last specified.
  22.  
  23. 2) sort_by_genre.sh - https://pastebin.com/PZGHxSC8
  24.  
  25. You can sort downloaded modules by genre.
  26.  
  27. 3) mod_cleanup.sh - https://pastebin.com/WzHS7t7m
  28.  
  29. Allows to play module one by one and afterwards decide to keep or
  30. delete it. If Keep is choosen then it stores the module in the
  31. directory by genre or shows genre selection in case genre is unknown.
  32.  
  33. Script create entry in deleted file in order not to download the file
  34. which was deleted intentionally.
  35.  
  36. 4) mods_down - https://pastebin.com/3s4EHiNL
  37.  
  38. Simple script for runnung the mod_cleanup.sh script from Dmenu.
  39.  
  40. 5) find_duplicates.pl - https://pastebin.com/e7WUBaWn
  41.  
  42. Search for duplicates inside packed module files and displays the list
  43. with marked duplicates.
  44.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement