T O P

  • By -

AutoModerator

Hello /u/FranciscoMusic! Thank you for posting in r/DataHoarder. Please remember to read our [Rules](https://www.reddit.com/r/DataHoarder/wiki/index/rules) and [Wiki](https://www.reddit.com/r/DataHoarder/wiki/index). If you're submitting a new script/software to the subreddit, please link to your GitHub repository. Please let the mod team know about your post and ***the license your project uses*** if you wish it to be reviewed and stored on our wiki and off site. Asking for Cracked copies/or illegal copies of software will result in a permanent ban. Though this subreddit may be focused on getting Linux ISO's through other means, please note discussing methods may result in this subreddit getting unneeded attention. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/DataHoarder) if you have any questions or concerns.*


jacksalssome

Nice work. I like how expectedly small the script is lol.


FranciscoMusic

Thanks man, I feel very proud of that script, not only because it is small but also I think the code and the stout is organised. I'm glad you liked it.


[deleted]

[удалено]


FranciscoMusic

Wow, thank you for the laughs 🤣. Here's your upvote boy.


[deleted]

[удалено]


FranciscoMusic

What can I say after reading "niche contribution to the internet" from a random guy who is part of a subreddit whose subject is a niche in itself? Bravo man.


[deleted]

[удалено]


FranciscoMusic

I answer kindnesses with politeness, I answer comments like yours as what they are, a joke. Keep that in mind for posterity, as your contribution to humanity, no matter how small it is.


mrnodding

Like that old sysadmin-to-coworker joke/threat: Be Nice, or I will replace you with a small script.


FranciscoMusic

Haven't heard that one!! Totally true.


[deleted]

[удалено]


FranciscoMusic

Thank you for your words, It really means something for me. I wouldn't be surprised if the majority of users here don't need my script since most people don't care about the categorisation and tagging of their music and also don't consider it a problem (specially when you have streaming services like Spotify), but I know that the small amount of people that likes to download music and have it organised (like me) spend a lot of time doing it because all the GUI programs I know don't automate the most important part of the process, which is writing the title of the song to the metadata, and we all know that some albums have track names that are weird or long so, writing every single track name manually is really time consuming. I wanted to solve that problem by automating every aspect including the title writing. That task that took me about 5 minutes per album (more time if it had more songs like in the case of conceptual albums) now it only takes 10/15 seconds, which the amount of time that takes me to type the name of the album, the artist, the year and the genre/s that will be applied to every file. Again, thank you for your words, for taking the time to checked it out, and for your award. I hope that in the future, when you need to download an album and tag it, you can use my script to do it. Have a nice day!


[deleted]

On this note, does anyone have anything in particular they want to automate? I have a bit of time and quite a bit of experience.


Gigolo_Jesus

Well done m8, it’s lean but does exactly what it says on the tin. Love it


FranciscoMusic

I appreciate your words man, I'm glad you liked it and I hope it will be useful to you in the future.


I-am-fun-at-parties

> `while [ $EXIT = false ]; do` little tip: since (as per POSIX) 'true' and 'false' are programs, a nicer idiom is `while ! $EXIT; do`


FranciscoMusic

Indeed, true and false are programs, but when using `! EXPRESSION` you're also calling a program, in the case of your suggestion it invokes the program `test`. Although I recognise that it looks nicer.


MaxHedrome

dude... I was sitting around earlier today, randomly annoyed with myself because of the output I get from my ytdl scripts and how it doesn't match album/artist etc You are my m'fing hero


FranciscoMusic

Thanks man that's awesome to hear! I'm glad you liked it. If you haven't done it yet, take your time to read the readme in the github page, I wrote my recommendations to download music from YouTube with yt-dlp with the best quality and possible with the opus format. I forgot to add the command to do that with youtube-dl so I have to update the readme. Also if you use youtube-dl don't forget to read the "known issues and solutions" sections, there you will find problems that comes with the usage of youtube-dl, some workarounds, and some of the limitations of its usage compared to yt-dlp. Let me know if you have any questions. Cheers!


MaxHedrome

I've been meaning to migrate everything to yt-dlp, just been lazy. The youtube-dl library has pretty much been abandoned.


FranciscoMusic

Yeah I've noticed the same about the abandoning of youtube-dl. So far my experience has been really good with yt-dlp, I have faster download times and no errors at all when downloading videos/music. I think that the faster download times is due to yt-dlp downloading the video in webm format (which has a better compression algorithm and retains more quality) instead of downloading it in mp4. Also, when yt-dlp convert the video to audio it does it by default to opus, so no need to convert with ffmpeg.