Viet Phan X

[⚠️ JOURNEY] Building MP3 AI Manager for Music Hoarders (Day 18)

Author AvatarViet Phan
0
Jan 9, 2025
2 min read

Day 18

Hours worked/Total: 3/33

Avaloniaaudiometa

Day Recap

Extracted MP3 metadata with limited success and began exploring MVVM architecture in depth to manage global states and dependency injection. Successfully implemented a basic service class using Autofac, which simplified ViewModel management.

What I Did

  • Extracted MP3 metadata:
    • Retrieved basic details like the file path and name but Meta tags like artist, album, and genre requiring additional libraries or manual parsing of ID3 tags.
  • Learned MVVM architecture concepts like to handle global states:
    • Use service classes for shared states and logic.
    • Keep models focused on being blueprints for data (like a house blueprint).
  • Experimented with service classes:
    • Chose Autofac for dependency injection, which automates many aspects of managing and sharing service instances across the app.
    • Dependency injection feels magical, as Autofac seamlessly wires up dependencies without bloating the code.

Remarks

Extracting metadata was underwhelming, but learning MVVM architecture and dependency injection felt transformative. Understanding the role of services for managing global states brings clarity to structuring the app.

Next Goals

Investigate libraries or tools for better MP3 metadata extraction, including ID3 tags.

πŸ‘¨β€πŸ’» Software DevelopmentπŸš€ Journey

Got an Idea?

Let's Build It!

I can bring your ideas to life - FREE of charge

Book a free consultation and let’s identify opportunities to turn your vision into a successful business

15 min call

Get idea feedback

from 17+ consultations
?
Usually responds within 24h

If You Like what I do
You can buy me a coffee πŸ‘‡
Send β˜• via PayPalSend β˜• with Bitcoin

πŸ€™ Let's connect

Made by Viet Phan Β© 2018-2025Privacy Policy