Reply to topic  [ 34 posts ]  Go to page Previous  1, 2, 3, 4  Next
JeF's Extra Queries (for interface and/or plugin) 
Author Message
Star
User avatar

Joined: Tue Sep 15, 2009 8:50 am
Posts: 300
Location: Italy-Russian
Post Re: JeF's Extra Queries (for interface and/or plugin)
;) Jef can enter the query "Tv Serials"

example:
find all the TV serials "Once upon a time" 2011.


Thu Apr 12, 2012 2:48 pm
Profile
Black Belt Squirrel
User avatar

Joined: Fri Feb 20, 2009 3:34 pm
Posts: 1093
Location: France
Post Re: JeF's Extra Queries (for interface and/or plugin)
xbox80 wrote:
;) Jef can enter the query "Tv Serials"
example:
find all the TV serials "Once upon a time" 2011.

Could you please give more details ?
This should consist in only one movie (containing all seasons and all episodes), so using, for instance, search tab you'll easily find the movie and so all the episodes.
JeF


Thu Apr 12, 2012 5:03 pm
Profile
Passerby

Joined: Sat May 05, 2012 8:38 am
Posts: 4
Post Re: JeF's Extra Queries (for interface and/or plugin)
Hi JeF.
Thanks for this wonderful plughin. :-)

I've got a question: is there a command (for example "select * from table_name" or something like "descr table_name") that can show me the structure or the fields of a table? It'd be easier build queries with the names of the fields... I'm trying to guess some of them but sometimes it's difficult.
For example I'm trying to extract all the information of a movie file (file size, bitrate, codecs, audio stream ...) in order to build a report.

Thank you very much for your reply.
Charles5


Sat May 05, 2012 8:48 am
Profile
Developer
User avatar

Joined: Wed Jan 23, 2008 11:37 am
Posts: 2498
Post Re: JeF's Extra Queries (for interface and/or plugin)
charles5 wrote:
I've got a question: is there a command (for example "select * from table_name" or something like "descr table_name") that can show me the structure or the fields of a table? It'd be easier build queries with the names of the fields... I'm trying to guess some of them but sometimes it's difficult.

You can easily see the structure of the database using a tool like sqlitebrowser :)

_________________
ImageImage


Sat May 05, 2012 9:27 am
Profile
Passerby

Joined: Sat May 05, 2012 8:38 am
Posts: 4
Post Re: JeF's Extra Queries (for interface and/or plugin)
G R E A T !!!

Thank you very much, Vlad.

:-)
Charles


Sat May 05, 2012 12:37 pm
Profile
Passerby

Joined: Sat May 05, 2012 8:38 am
Posts: 4
Post Re: JeF's Extra Queries (for interface and/or plugin)
Dear Jef

I hope this is the right place to write about a possible bug of your plugin.
The selection of the columns "season" of both the tables "episodes" and "editions" doesn't work.
(for example simply "select season from editions").
The name of the column is always "n" vith no values.

I'm doing something wrong or is this a bug?

Thanks.
Charles5


Sun May 20, 2012 10:35 am
Profile
Black Belt Squirrel
User avatar

Joined: Fri Feb 20, 2009 3:34 pm
Posts: 1093
Location: France
Post Re: JeF's Extra Queries (for interface and/or plugin)
Hi,
charles5 wrote:
The selection of the columns "season" of both the tables "episodes" and "editions" doesn't work.
(for example simply "select season from editions").
The name of the column is always "n" vith no values.
I'm doing something wrong or is this a bug?
Yep, this is a bug. Thanks for reporting.
Here's a fixed v2.2 of the plugin waiting v2.3 to be out (i don't know when at the moment)
Should do it. Please let me know.
;)
JeF


Attachments:
File comment: Fixed v2.2 ExtraQueries dll
ExtraQueries.zip [295.08 KiB]
Downloaded 151 times
Sun May 20, 2012 8:07 pm
Profile
Passerby

Joined: Sat May 05, 2012 8:38 am
Posts: 4
Post Re: JeF's Extra Queries (for interface and/or plugin)
Hi JeF.

Thank you very much.
It works perfectly.

Bye.
Charles5


Mon May 21, 2012 7:56 am
Profile
Passerby

Joined: Wed Aug 15, 2012 7:28 pm
Posts: 2
Post Re: JeF's Extra Queries (for interface and/or plugin)
hey guys,

can anyone help me with listing the first 5-6 actors from a movie? i tried to work it out with no luck.


Wed Aug 15, 2012 7:34 pm
Profile
Black Belt Squirrel
User avatar

Joined: Fri Feb 20, 2009 3:34 pm
Posts: 1093
Location: France
Post Re: JeF's Extra Queries (for interface and/or plugin)
yobogi92 wrote:
can anyone help me with listing the first 5-6 actors from a movie? i tried to work it out with no luck.

Something like this should help :
Code:
Z0139=SELECT m.code, m.title, p.name , d.sort_order FROM movies m , data d, persons p WHERE d.movie = m.code and d.mode = 3 and p.code = d.person and d.sort_order < 6 and m.in_collection = 1
Z0139D=Movies in collection with first (up to) 6 actors

;)
JeF


Thu Aug 16, 2012 8:14 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 34 posts ]  Go to page Previous  1, 2, 3, 4  Next

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware.