SVN Code - database backend

22 views
Skip to first unread message

Kevin DeKorte

unread,
Nov 30, 2012, 4:58:03 PM11/30/12
to gnome-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All,

I've been SLOWLY working on adding a database backend to
gnome-mplayer. Still more work to do on it, but what I have done is
progressing nicely.

For example I have a folder of about 250 MP3 files in it, before the
changes the folder would take 20-30 seconds to load. After the
database changes the first load is still 20-30 seconds, but loads
after this one (ie after the database has been populated) the load is
near instant so it is a significant performance boost.

Right now the database is just storing metadata that it has gathered
before, so there not much in there. But as I figure out what I want to
do, I will potentially add more to the data store.

Current plans

Storing the cover art pointer in the database so I don't need to look
it up again and again.

Storing media position for media that is being watched, so media files
can be resumed.

Potentially having separate audio and video lists, perhaps something
tree structured. So this would involve reworking the playlist GUI, but
this is probably a few months from now, but if anyone wants to help in
this area I would appreciate it.

Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlC5K+sACgkQ6w2kMH0L1dGUSgCfe3HPANaBpwTSS4Y7cKjmzfId
PXUAnjbzuvi1zJdSoYpjXU81/oTQPKWK
=1Ssm
-----END PGP SIGNATURE-----

Brandon Snider

unread,
Dec 1, 2012, 2:02:26 PM12/1/12
to gnome-...@googlegroups.com
Hi Kevin. You're only checking for gda-4. It's been removed in favour of gda-5 in Ubuntu starting in October.
In my ppa quantal/raring and beyond won't have this feature unless you also add gda-5.

Kevin DeKorte

unread,
Dec 1, 2012, 5:39:27 PM12/1/12
to gnome-...@googlegroups.com

Brandon,

Can you supply a patch? Fedora 17 only has gda4.

Kevin

--
You received this message because you are subscribed to the Google Groups "gnome-mplayer" group.
To view this discussion on the web visit https://groups.google.com/d/msg/gnome-mplayer/-/UgSkAVHy3YMJ.
To post to this group, send email to gnome-...@googlegroups.com.
To unsubscribe from this group, send email to gnome-mplaye...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gnome-mplayer?hl=en.

Brandon Snider

unread,
Dec 2, 2012, 12:46:04 AM12/2/12
to gnome-...@googlegroups.com
I'll see what I can do on that.

Kevin DeKorte

unread,
Dec 2, 2012, 9:23:04 AM12/2/12
to gnome-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I did a check on the api and it appears all that is needed to be done
is to check for it in configure.

Kevin


On 12/01/2012 10:46 PM, Brandon Snider wrote:
> I'll see what I can do on that.
>
> On Saturday, December 1, 2012 5:39:27 PM UTC-5, Kevin DeKorte
> wrote:
>
> Brandon,
>
> Can you supply a patch? Fedora 17 only has gda4.
>
> Kevin
>
> On Dec 1, 2012 12:02 PM, "Brandon Snider" <brandon...@gmail.com
> -- You received this message because you are subscribed to the
> Google Groups "gnome-mplayer" group. To view this discussion on the
> web visit
> https://groups.google.com/d/msg/gnome-mplayer/-/UgSkAVHy3YMJ
> <https://groups.google.com/d/msg/gnome-mplayer/-/UgSkAVHy3YMJ>. To
> post to this group, send email to gnome-...@googlegroups.com
> <javascript:>. To unsubscribe from this group, send email to
> gnome-mplaye...@googlegroups.com <javascript:>. For more options,
> <http://groups.google.com/group/gnome-mplayer?hl=en>.
>
> -- You received this message because you are subscribed to the
> Google Groups "gnome-mplayer" group. To view this discussion on the
> web visit
> https://groups.google.com/d/msg/gnome-mplayer/-/72jKqDquCu8J. To
> post to this group, send email to gnome-...@googlegroups.com.
> To unsubscribe from this group, send email to
> gnome-mplaye...@googlegroups.com. For more options, visit
> this group at http://groups.google.com/group/gnome-mplayer?hl=en.

- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlC7ZEgACgkQ6w2kMH0L1dFS3QCglaAXyS5HBwx2QNJhI25qP1Mp
0zsAnjSF+d/v5cgJX9gbV7gBDvICHGpP
=Rp++
-----END PGP SIGNATURE-----

Brandon Snider

unread,
Dec 14, 2012, 10:15:17 AM12/14/12
to gnome-...@googlegroups.com
OK, here's a patch I created based on the configure script's code for gpod06/gpod07. It seems to work, if my build logs are to be believed anyway. Here's one that says gda-04 is enabled but not gda-05: https://launchpadlibrarian.net/125764533/buildlog_ubuntu-lucid-amd64.gnome-mplayer_1.0.8a~svn2375-0ubuntu1~gmdevppa3~lucid_BUILDING.txt.gz

add_support_for_gda5.patch

Kevin DeKorte

unread,
Dec 14, 2012, 10:35:19 AM12/14/12
to gnome-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brandon,

Nice try on the code, unfortunately you patched the wrong file.
configure is autogenerated by autoconf. So you really want to edit
configure.in and then run autoreconf and then see if your changes were
right.

Kevin
> <https://groups.google.com/d/msg/gnome-mplayer/-/72jKqDquCu8J>. To
>> post to this group, send email to gnome-...@googlegroups.com
> <javascript:>.
>> To unsubscribe from this group, send email to
>> gnome-mplaye...@googlegroups.com <javascript:>. For more
>> options,
> visit
>> this group at http://groups.google.com/group/gnome-mplayer?hl=en
> <http://groups.google.com/group/gnome-mplayer?hl=en>.
>
>
> -- You received this message because you are subscribed to the
> Google Groups "gnome-mplayer" group. To view this discussion on the
> web visit
> https://groups.google.com/d/msg/gnome-mplayer/-/eZt-W6DudTcJ. To
> post to this group, send email to gnome-...@googlegroups.com.
> To unsubscribe from this group, send email to
> gnome-mplaye...@googlegroups.com. For more options, visit
> this group at http://groups.google.com/group/gnome-mplayer?hl=en.

- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlDLRzcACgkQ6w2kMH0L1dG3YQCdFa1wm2pofmxDIZCPIzhG2BJ8
Z2AAn0g5Pywr3vnfBu6M6mrDc+sUGJCJ
=qLSA
-----END PGP SIGNATURE-----

Brandon Snider

unread,
Dec 14, 2012, 12:49:35 PM12/14/12
to gnome-...@googlegroups.com
OK, no problem.

Brandon Snider

unread,
Dec 14, 2012, 2:27:10 PM12/14/12
to gnome-...@googlegroups.com
Here is the configure.in patch.
add_support_for_gda5.patch
Reply all
Reply to author
Forward
0 new messages