home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
problem with deleted doubled episode
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="JimCatMP" data-source="post: 966607" data-attributes="member: 103549"><p>Not sure how to put this SQL statement (can manage select & delete, have problems much beyond that), but...</p><p> </p><p>1) Create SeriesID list from local_episode (ie select distinct SeriesID from local_series).</p><p> </p><p>2) Walk the list and delete from local_episode where SeriesID = listitem and local_series.ID(listitem) == NULL (ie no such series).</p><p> </p><p>On my Atom based system, with 140 odd series and 4500 or so episode, a simple delete from table command, removing a single episode takes several seconds - something I would not want to run on plugin start up for any complex request, but certainly something I would run from config.</p><p> </p><p>Cheers - JCMP</p><p> </p><p>PS - wrote this and was ready to post BEFORE I saw input from ltfearme - and yep, I don't think it's trivial to do, and certainly not to do well.</p></blockquote><p></p>
[QUOTE="JimCatMP, post: 966607, member: 103549"] Not sure how to put this SQL statement (can manage select & delete, have problems much beyond that), but... 1) Create SeriesID list from local_episode (ie select distinct SeriesID from local_series). 2) Walk the list and delete from local_episode where SeriesID = listitem and local_series.ID(listitem) == NULL (ie no such series). On my Atom based system, with 140 odd series and 4500 or so episode, a simple delete from table command, removing a single episode takes several seconds - something I would not want to run on plugin start up for any complex request, but certainly something I would run from config. Cheers - JCMP PS - wrote this and was ready to post BEFORE I saw input from ltfearme - and yep, I don't think it's trivial to do, and certainly not to do well.[I][/I] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
problem with deleted doubled episode
Contact us
RSS
Top
Bottom