Announcement

Collapse
No announcement yet.

Working on new MP3 "front end"

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Working on new MP3 "front end"

    Hi everyone! This is my first post, and I am currently gathering hardware for my car computer. Reading this forum has been really useful, so thanks everyone!

    Anyway, I am set on using Linux, as I have always been an open source fan. The problem is that I haven't found just the right software to use. My first goal is an MP3 player that will let me browse my library easily and play music - I want to keep it as simple as possible! Later on I will add other features and therefore want a top-level front end (i.e. one that lets me choose music, GPS, etc.). For now, I could even just use desktop icons for that anyway...

    But the challenge is an MP3 browser. I've looked at pycar, but I never quite got it all working. DashPC looks cool, but it seems it just launches XMMS, so although you can play music, you'd have to browse to the actual files you want rather than artist/album/track, etc. (with fast searching, which is needed when you have lots of music). Plus, trying to use a Linux file browser on a touch screen might make it hard to drive!

    There is another one I saw posted here, but it looks like source code is not available yet.

    So it looks like I'll be doing my own home-brew! I plan to use Python, and so I looked into the many GUIs available. I initially have chosen the standard, Tkinter, and I am playing with that now - looks promising, as there are features that will work well in the touch-screen environment, like the ability to make buttons large enough to hit that can be wired to scroll a list up or down by pages (the scrollbar can be made small and used just to show where in the list you are - I've testing this, and it looks good).

    The plan is to keep it simple. There will be a tabbed (or similar) list on the left allowing the user to search (a small QWERTY "keyboard" will be there to select substrings for searching, and this will update the list dynamically as you hit letters) and add artists/albums/tracks to a list on the right (the playlist). When the user hits play, an .m3u playlist fill will be written, the GUI will disappear, and XMMS will be launched with the playlist (and start playing). When XMMS is closed, the GUI will pop up again. Later, I can add a button to "return to a main menu (a top-level page)."

    So far, I have written the Python script to scan my music library and write an index file (which is a tab-separated text file). When the GUI is run, it will load this index into an in-memory database (Sqlite with Python wrappers). This will speed searches and make them easier to code - I've got one hard coded now that works well). I should have a prototype to show shortly, but I wanted to send out in initial post and ask for any suggested features!

    I'm kinda digging this, and it's a learning experience! I've had to learn Sqlite and Tkinter so far, but the whole system will pretty much consist of two python scripts - pretty lean. and only a few 3rd party libs need to be installed. If anyone else here is looking for something like this, then I'll be glad to share it.

    I am now waiting for my 80GB drive to show up, and then I'll have everything I need to test it all out on the bench. First task will be loading Fedora Core 4 (just downloaded the ISOs).

    Cheers! Joe

  • #2
    Sounds cool, I just installed Fedora Core 4 on my main PC at home and I have to say that it's the best linux distro I've tried yet. I've played with a lot of different distros over the past 3-4 years, and this one takes the cake.
    1.6GHz HP e-PC, 768MB RAM, 120GB WD HDD, Slim DVD-ROM, Onboard sound & video, 7" Lilliput, USB GPS Mouse, Audiovox FM Modulator, Vector 400 Watt Power Inverter, Windows XP Pro SP2, iGuidance 2, 15" Samsung LCD for the rear *Carputer not installed*

    Comment


    • #3
      Originally posted by dodgetimes2
      Sounds cool, I just installed Fedora Core 4 on my main PC at home and I have to say that it's the best linux distro I've tried yet. I've played with a lot of different distros over the past 3-4 years, and this one takes the cake.
      Glad to hear that! I have been using FC3 on 3 different machines (work and home), and it's good too, but glad to hear about FC4 - I think now's a good time to install, since they've gone through the initial bug shake-out that happens after each release.

      -Joe

      Comment


      • #4
        if you need any ideas, check my "calling all programmers" thread in this forum.


        you could prolly do that.

        Comment


        • #5
          Here's a screen grab of an early prototype of my MP3 "front end." It still needs cosmetic work (I need to replace some of the text labels with icons, like the up and down arrows, backspace, etc.), and I'd like to make it a lot snazzier, but it's functional.

          -Joe
          Attached Files

          Comment


          • #6
            Cool keep up the good work. Are you going to release the program to the public?

            Comment


            • #7
              Originally posted by kevinlekiller
              Cool keep up the good work. Are you going to release the program to the public?
              Yep! Now that it is somewhat usable, I will clean up and comment the code a little and put it up on my web site. Stay tuned - I might get it on there as early as the next day or so. So far there are only two python files: the index generator that you run on your music library and the browser program. In any case, I'll post here when it's up.

              -Joe

              Comment


              • #8
                Thanks

                Comment


                • #9
                  Here's the page for the software, including a link to download the code:
                  http://www.skyrush.com/lavaMP3/

                  Enjoy! Joe

                  Comment


                  • #10
                    you need a guy for some photoshop stuff, lemme know and i can make some slick graphics for it.

                    Comment


                    • #11
                      Originally posted by simon_C
                      you need a guy for some photoshop stuff, lemme know and i can make some slick graphics for it.
                      Hey, if you are willing to donate your skills, go ahead and make an example or two, and I'll try to apply them to the buttons, etc. and see how they look! Thanks!

                      -Joe

                      Comment


                      • #12
                        hey i need help installing this thing.

                        ive got everything installed except pysqlite2.

                        wenever i try to install it i get this
                        error: invalid python installation: unable to open /usr/lib/python2.4/config/makefile (no such file or directory)
                        i installed python 2.4 too....
                        help?

                        Comment


                        • #13
                          Originally posted by simon_C
                          hey i need help installing this thing.

                          ive got everything installed except pysqlite2.

                          wenever i try to install it i get this

                          i installed python 2.4 too....
                          help?
                          Did you go into the pysqlite-2.0.3 directory, as root, and type:

                          python setup.py install

                          ?

                          That should have worked. Also make sure you get "sqlite" and make and install that first. It uses the standard "configure, make, make install" method. If you installed python 2.4 (as have I), make sure it's in your path (I use /usr/local/...).

                          Oh, and since it's looking for /usr/lib/python2.4 in your case, do you see the python2.4 dir there?

                          Comment


                          • #14
                            i see that puthon 2.4 dir there yes.

                            ill see what i can do.....

                            Comment


                            • #15
                              hows this for a mockup?
                              Attached Files

                              Comment

                              Working...
                              X