On Sa, 2012-05-05 at 09:13 +0200, Jens Georg wrote:Works here with the upnp component version 0.99.39 from 2012-04-21.
> On Fr, 2012-05-04 at 23:40 +0200, Michael Lathion wrote:
>
> > On foobar I see the device in servers list but I can't open it and in
>
> I'll have a look at foobar. No idea what should be causing this.
Did you restart rygel since updating from 0.6 to 0.14? If not, could you
do so? If it still doesn't work, can you attach the output of echo
".schema" | sqlite3 $HOME/.cache/rygel/media-export.db ?
Could be that something went wrong when updating the database.
CREATE TABLE closure (ancestor TEXT, descendant TEXT, depth INTEGER); CREATE TABLE meta_data (size INTEGER NOT NULL, mime_type TEXT NOT NULL, duration INTEGER, width INTEGER, height INTEGER, class TEXT NOT NULL, author TEXT, album TEXT, date TEXT, bitrate INTEGER, sample_freq INTEGER, bits_per_sample INTEGER, channels INTEGER, track INTEGER, color_depth INTEGER, object_fk TEXT UNIQUE CONSTRAINT object_fk_id REFERENCES Object(upnp_id) ON DELETE CASCADE, dlna_profile TEXT, genre TEXT); CREATE TABLE object (parent TEXT CONSTRAINT parent_fk_id REFERENCES Object(upnp_id), upnp_id TEXT PRIMARY KEY, type_fk INTEGER CONSTRAINT type_fk_id REFERENCES Object_Type(id), title TEXT NOT NULL, timestamp INTEGER NOT NULL, uri TEXT, flags TEXT); CREATE TABLE schema_info (version TEXT NOT NULL); CREATE INDEX idx_meta_data_fk on meta_data(object_fk); CREATE INDEX idx_parent on Object(parent); CREATE TRIGGER trgr_delete_closure AFTER DELETE ON Object FOR EACH ROW BEGIN DELETE FROM Closure WHERE descendant = OLD.upnp_id;END; CREATE TRIGGER trgr_delete_metadata BEFORE DELETE ON Object FOR EACH ROW BEGIN DELETE FROM meta_data WHERE meta_data.object_fk = OLD.upnp_id; END; CREATE TRIGGER trgr_delete_uris BEFORE DELETE ON Object FOR EACH ROW BEGIN DELETE FROM Uri WHERE Uri.object_fk = OLD.upnp_id;END; CREATE TRIGGER trgr_update_closure AFTER INSERT ON Object FOR EACH ROW BEGIN SELECT RAISE(IGNORE) WHERE (SELECT COUNT(*) FROM Closure WHERE ancestor = NEW.upnp_id AND descendant = NEW.upnp_id AND depth = 0) != 0;INSERT INTO Closure (ancestor, descendant, depth) VALUES (NEW.upnp_id, NEW.upnp_id, 0); INSERT INTO Closure (ancestor, descendant, depth) SELECT ancestor, NEW.upnp_id, depth + 1 FROM Closure WHERE descendant = NEW.parent;END;
Attachment:
8-player.PNG
Description: PNG image