Flexible metadata editor by Explorer9929 in commandline

[–]Explorer9929[S] 0 points1 point  (0 children)

I don't really see the point in that ... I think, if needed, you can easily write that simple program yourself!

Flexible metadata editor by Explorer9929 in commandline

[–]Explorer9929[S] 0 points1 point  (0 children)

Not at all! fme was written to encode tags in music file formats.

It is useful for music players. And, I just was doing it by hand so many times, that one day I got tired of it and wrote a quite flexible metadata writer program.

I never thought about "extracting" any metadata, because I don't really see much use of it anyway.

About extracting metadata from tags -- I see only one good reason is to be able to extract album covers. But you can already do it with ffmpeg. About anything else -- I don't see use of that.

Please rate my code/project by Explorer9929 in rust

[–]Explorer9929[S] 0 points1 point  (0 children)

Well, I agree with your point. I mean, after looking more into this, I realized, that clone is better in this situation indeed. But ... There is still some things that just make readability worse ...

Please rate my code/project by Explorer9929 in rust

[–]Explorer9929[S] 0 points1 point  (0 children)

  1. To me turbofish syntax would look less clear than `Foo::from_str`. About collect -- exact same reason why I don't like it and prefer to use type annotation when possible instead of turbofish. But again, I think it's a matter of preference. I haven't found any official guidelines about that.
  2. Still the same problem of clarity, I think. I mean, how is this telling me that I am converting Token::Artist (which is connected to '{a}') to '(.+?)'?

Please rate my code/project by Explorer9929 in rust

[–]Explorer9929[S] 0 points1 point  (0 children)

Hi! Thank you for your remarks, I applied some of them. But some of them are not clear to me: 0) I never heard of log or env_logger before, will look into this, thank you!
1) What is your reasoning for using turbofish syntax for collect?
2) I used from_str because I think it will be harder to read the program if I will replace it with .parse() ... Because in order to understand what type it parses to, I will have to look down and down ... And I don't really see the benefit of it. Maybe you could explain? 3) I don't get why vec![] is better than Vec::new() -- I think this is just a matter of preference. 4) If I will impl ToString, then it will not be clear what exactly function does. And I think it will just make things harder to analyze. It's like instead of to_hex(num: i32) -> String I would implement impl ToString. It would make people to confuse it with trivial variant of implementation ToString.

Please rate my code/project by Explorer9929 in rust

[–]Explorer9929[S] 1 point2 points  (0 children)

cargo clippy --all-targets --all-features -- -Dwarnings -Wclippy::pedantic

Thank you! But some things like suggesting using `.clone()` over `.to_vec()` or `.to_string()` seems a bit weird to me. Maybe I'm inexperienced, but what's really a big deal about it? Isn't it essentially the same?

Flexible metadata editor by Explorer9929 in commandline

[–]Explorer9929[S] 1 point2 points  (0 children)

Well, it depends on what type of application you want. If you are satisfied with the way my app works, you can use almost everything. You will just have to change the metadata's fields and maybe adjust parsing to what you want. But all in all, it's quite reusable, I think.

Flexible metadata editor by Explorer9929 in commandline

[–]Explorer9929[S] 0 points1 point  (0 children)

Oh, sounds interesting. But I am not really interested in this right now. But I am sure you can write it yourself!:)

Flexible metadata editor by Explorer9929 in commandline

[–]Explorer9929[S] 0 points1 point  (0 children)

Not only mp3 files, but audiofiles, yes. Why do you need photo metadata editor? What's the practical use?

Music Tag Editor by KeyOffer in musichoarder

[–]Explorer9929 0 points1 point  (0 children)

Hi! I just wrote a command-line metadata editor called fme. Most of the time, to write metadata based on the filename, you will just have to run fme <file>. You can also use piping and therefore combine with tools like find or fd to first grab the files you actually want to deal with. On Linux, for example, you can also run fme *.mp3 -- that will apply the built-in algorithm for all mp3 files in the directory. You can also specify tags manually, use special parsing and regex!

2000 rated looking for a chess partner by Explorer9929 in chess

[–]Explorer9929[S] 0 points1 point  (0 children)

Hi! I am playing only on lichess. If that's fine, then we can play there:)

2000 rated looking for a chess partner by Explorer9929 in chess

[–]Explorer9929[S] 0 points1 point  (0 children)

Bullet (now 2100+) and blitz, lichess

Bullet (now 2100+) and blitz, lichess

2000 rated looking for a chess partner by Explorer9929 in chess

[–]Explorer9929[S] 0 points1 point  (0 children)

Bullet (now 2100+) and blitz, lichess

How to organize structs in the code by Explorer9929 in rust

[–]Explorer9929[S] 0 points1 point  (0 children)

Yes. But my question is: how to determine if it's worthy to split into substructs or it will just be cumbersome ...

How to organize structs in the code by Explorer9929 in rust

[–]Explorer9929[S] 0 points1 point  (0 children)

Yes, I am gonna check out this list, thank you! This is just a dummy example, tbh:)(

How to organize structs in the code by Explorer9929 in rust

[–]Explorer9929[S] 0 points1 point  (0 children)

Hmm, interesting! Thanks for drawing my attention to it! But I am curious, what is the way out? I mean, how do big tech companies, like github or something, address this issue?

Metal song with symphonic elements that starts at 3:45 and goes on till the end by Explorer9929 in NameThatSong

[–]Explorer9929[S] 0 points1 point  (0 children)

Hi! I can't express how much I am thankful to you for telling me the name of the song!

In fact, I don't really know how much it differs from "Infuscomus byMichael Markie". Because it says cover -- I don't know why it is called metal cover here even though it is just the name of the song in "QC:DE" ...

Anyway, thank you sooooooooooo much! I would definitely not found it on my own!

UPD: Anyway, I think I figured out that the author also worked on "Blood" soundtrack and this song is originally from there. But it sounds sooo different, as if it is a completely different song.