mario0alberto1 / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
0 stars 0 forks source link

resume position not saved when spaces in filename #730

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Files won't resume unless I remove spaces from their names. Here's what 
gnome-mplayer is saving to disk. This is the same file renamed.

$ sqlite3 ~/.config/gnome-mplayer/gnome-mplayer.db ".dump"
PRAGMA foreign_keys=OFF;
BEGIN TRANSACTION;
CREATE TABLE media_entries (uri string not null primary key, title string, 
artist string, album string, cover_art string, audio_codec string, video_codec 
string, demuxer string, video_width int, video_height int, length real, resume 
boolean, position real);
INSERT INTO "media_entries" 
VALUES('file:///home/rob/atestvideo.avi','atestvideo.avi','atestvideo','',NULL,'
mpg123','ffodivx','lavfpref',448,272,3533.52001953125,1,2.8);
INSERT INTO "media_entries" VALUES('file:///home/rob/a%20test%20video.avi','a 
test video.avi','a test 
video','',NULL,'mpg123','ffodivx','lavfpref',448,272,3533.52001953125,0,NULL);
COMMIT;

gnome-mplayer 1.0.9
Ubuntu 14.10
sqlite 3.8.6

Original issue reported on code.google.com by r...@robstevens.org on 1 Feb 2015 at 4:59