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
MP-TVSeries v4.3.6 Release [2020-01-24]
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: 1306768" data-attributes="member: 103549"><p>Given ID.tvdb doesn't work for me, thought I'd do the harder way - direct sql.</p><p></p><p>So [using SQLITE3 installed on seperate host - just copied DB over, edited, saved and copied back to actual media server].</p><p></p><p>update local_series set ID=427281 where ID=-588; #Series is <strong>FUBAR</strong>, TVDB_ID is <strong>427281</strong> and <strong>-588</strong> is the ID it was given on import.</p><p>update season set SeriesID=427281 where SeriesID=-588; # 2 seasons installed, both season entries updated in one query.</p><p>update season set ID=427281_s1 where ID=-588_s1;# Update the index ID, one query per season.</p><p>update season set ID=427281_s2 where ID=-588_s2;</p><p></p><p>#Fix up the LOCAL file info.</p><p>update local_episodes set SeriesID=427281, OriginalComposite="427281_1x1",CompositeID="427281_1x1" where CompsiteID="-588_1x1"; # Repeat this 8 times [8 episodes per series] as <strong>1x2</strong>, 1x3 ...........</p><p>update local_episodes set SeriesID=427281, OriginalComposite="427281_2x1",CompositeID="427281_2x1" where CompsiteID="-588_2x1";# As above but now it's for Season 2, so <strong>2x2</strong>, 2x3.........</p><p></p><p>#Fix up the ONLINE file info.</p><p>online_episodes set SeriesID=427281 ,CompositeID="427281_1x1" where CompositeID="-588_1x1"; #As above for Seasons 1 & 2.</p><p></p><p>Open Conf, do an import [for all the missing online cont] and it's now all looking good.</p><p></p><p>NOTE - this only works for FAILED import where some suitable data exists in the table.</p><p></p><p>Possibly, that may help someone:-?</p><p></p><p>TTFN _ J.</p></blockquote><p></p>
[QUOTE="JimCatMP, post: 1306768, member: 103549"] Given ID.tvdb doesn't work for me, thought I'd do the harder way - direct sql. So [using SQLITE3 installed on seperate host - just copied DB over, edited, saved and copied back to actual media server]. update local_series set ID=427281 where ID=-588; #Series is [B]FUBAR[/B], TVDB_ID is [B]427281[/B] and [B]-588[/B] is the ID it was given on import. update season set SeriesID=427281 where SeriesID=-588; # 2 seasons installed, both season entries updated in one query. update season set ID=427281_s1 where ID=-588_s1;# Update the index ID, one query per season. update season set ID=427281_s2 where ID=-588_s2; #Fix up the LOCAL file info. update local_episodes set SeriesID=427281, OriginalComposite="427281_1x1",CompositeID="427281_1x1" where CompsiteID="-588_1x1"; # Repeat this 8 times [8 episodes per series] as [B]1x2[/B], 1x3 ........... update local_episodes set SeriesID=427281, OriginalComposite="427281_2x1",CompositeID="427281_2x1" where CompsiteID="-588_2x1";# As above but now it's for Season 2, so [B]2x2[/B], 2x3......... #Fix up the ONLINE file info. online_episodes set SeriesID=427281 ,CompositeID="427281_1x1" where CompositeID="-588_1x1"; #As above for Seasons 1 & 2. Open Conf, do an import [for all the missing online cont] and it's now all looking good. NOTE - this only works for FAILED import where some suitable data exists in the table. Possibly, that may help someone:-? TTFN _ J. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
My TVSeries
MP-TVSeries v4.3.6 Release [2020-01-24]
Contact us
RSS
Top
Bottom