Using gnome-mplayer to play DVB radio without asking whether you want to resume

When I launch gnome-mplayer to play back radio over my TV card (DVB), it asks me whether I want to resume from where I left off, which doesn’t make sense for this kind of stream.

I couldn’t find a way to switch this off, but a little hacking with gnome-mplayer’s sqlite database does the trick.

Here’s my Radio 4 launch script:


URI="dvb://BBC Radio 4"

sqlite3 ~/.config/gnome-mplayer/gnome-mplayer.db "DELETE FROM media_entries WHERE uri='${URI}'"

gnome-mplayer "${URI}"

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.