2016-04-24, 16:00
(2016-04-24, 03:26)Daydream Wrote: EMM does not store the resolution of art files (poster, thumbs, fanart, etc), correct?Nope, but that's a good idea for a new feature ;-)
(2016-04-24, 03:26)Daydream Wrote: EMM does not store the resolution of art files (poster, thumbs, fanart, etc), correct?Nope, but that's a good idea for a new feature ;-)
SELECT DISTINCT
tvshowlist.*
FROM
tvshowlist
INNER JOIN TVShowVStreams ON (tvshowlist.idTVShow = TVShowVStreams.TVShowID)
WHERE
TVShowVStreams.Video_Codec = 'hevc'
(2016-04-28, 03:50)Daydream Wrote: Well, I'm not an expert but for starters there is no TVShowVStreams table in the database (if you just replaced words in the syntax of a previous query, it doesn't work like that; get SQLiteSpy and look at the database, the MyVideos37.emm file or whatever it is). Further there's some description here http://embermediamanager.org/databasemodel/index.html for what's what.Yeah, I have no idea what I'm doing (if it wasn't obvious already). Thank you for the link, now I actually have something to work with lol! Thank you for trying!
I'd like to understand better too what can we do with episodes. If a movie is a standalone element and everything can be referred to it, an episode is part of a season, part of a series, and displaying a selection works in a more complex way. A proper query should show only the series, with only the seasons, with only the episodes that respect a certain condition. I can't get it to work like that right now.
As it stands there is no direct connection (that I can see) between TVVStream (the table I believe you were actually going for), and the tvshowlist view. We could double join with the episode table but I get weird results. Somebody that is stronger with the Force (*cough SQL*) should show us .
(2016-04-28, 09:42)DanCooper Wrote: That's not possible with episodes. There is no "episodes only" list that we can display to list all episodes by a query.
I think we have to change the tv show view/list to make it possible to use custom season/episode filters.
(2016-04-28, 19:42)Fail$tyle420 Wrote: Ok, so I didn't know what the hell I was doing AND it's not possible Thank you for the info!
(2016-05-10, 13:08)brunosso Wrote: Dan is possible to create a list of all tvshows is not "Locked" or with the status "Continuing" and not "Ended"
SELECT
*
FROM
tvshowlist
WHERE
tvshowlist.Lock = 0
SELECT
*
FROM
tvshowlist
WHERE
tvshowlist.Status NOT LIKE 'ended'
SELECT
*
FROM
tvshowlist
WHERE
tvshowlist.Status LIKE 'continuing'
SELECT DISTINCT movielist.* FROM MoviesAStreams INNER JOIN movielist ON (MoviesAStreams.MovieID=movielist.idMovie) WHERE MoviesAStreams.Audio_Channel>=6
SQL logic error or missing database
no such table: main.Sources
(2017-08-29, 19:35)PH-SYM Wrote: I was experimenting with this feature and added a table. After the required restart of Ember I now get the message:
Code:SQL logic error or missing database
no such table: main.Sources
Is there any way I can undo my error or do I have to delete the entire database and start from scratch?
I already searched in all files for the name of the added table of a unique part of the query to no avail
SELECT movielist.*
FROM movielist INNER JOIN Sources ON (movielist.Source = Sources.Name)
WHERE Sources.Name LIKE "\SD"
(2017-08-29, 23:14)PH-SYM Wrote: Can you give me a hint how I should have made that query to show only movies where the path contains a specific string?
Should I have used Sources.Path instead?
SELECT DISTINCT *
FROM
movielist
WHERE
movielist.MoviePath LIKE "FULL-PATH-OF-YOUR-SOURCE\SD%"