MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins » Hot Plugins » My TVSeries


My TVSeries MediaPortal MyTV-Series plugin

Reply
 
Thread Tools Display Modes
Old 2007-10-17, 14:43   #1 (permalink)
Portal Member
 
Join Date: Jan 2007
Age: 29
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts


Default Define view by import path?

Is there any way to define a view by the directory the episode was imported from? I have two main media directories:

X:\Anime
X:\Television
E:\ (removeable)

With the addition of offline media support, my main list will be over 30 pages long. Is there any way to define a custom view to have everything in X:\Television in one view, everything in X:\Anime in another, everything that's "offline" in a third, and "All" in the fourth?

Thanks!
Ryoga79 is offline   Reply With Quote
Old 2007-10-17, 15:10   #2 (permalink)
Portal Designer
 
Inker's Avatar
 
Join Date: Dec 2004
Posts: 1,560
Thanks: 35
Thanked 134 Times in 58 Posts

My System

Default

Theoratically yes, but since there is no support for defining custom views from any gui yet, its not possible.
__________________

There are only two industries that refer to their customers as "users".
- Edward Tufte
Inker is offline   Reply With Quote
Old 2007-10-17, 15:59   #3 (permalink)
Portal Member
 
spuck's Avatar
 
Join Date: Apr 2007
Location: north pole
Age: 21
Posts: 327
Thanks: 12
Thanked 51 Times in 29 Posts

Country:

My System

Default

I want views for New/Continuing/Ended/Unknown shows.
spuck is offline   Reply With Quote
Old 2007-11-13, 00:50   #4 (permalink)
Portal Member
 
Join Date: Jun 2007
Age: 22
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

@spuck: If you haven't figured it out by now, this seem to work. it shows only ended shows:

Code:
series<;><Series.Status>;=;Ended<;><Series.Pretty_Name>;asc<;><nextStep>season<;><;><Season.seasonIndex>;asc<;><nextStep>episode<;><;><Episode.EpisodeIndex>;asc<;>
The views for Continuing and New shows would look just the same...
tomeirik is offline   Reply With Quote
Old 2008-05-15, 20:47   #5 (permalink)
Portal Member
 
Join Date: May 2008
Posts: 59
Thanks: 0
Thanked 3 Times in 3 Posts


Default

Where do I put that to get the Ended shows view?
pgjensen is offline   Reply With Quote
Old 2008-05-15, 21:34   #6 (permalink)
Portal Member
 
Join Date: Jun 2007
Age: 22
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

You'll have to manually add it to the database. Open the database (I'm using SQLite Database Browser), and add it to the Views-table...
tomeirik is offline   Reply With Quote
Old 2008-05-15, 22:02   #7 (permalink)
Portal Member
 
Join Date: May 2008
Posts: 59
Thanks: 0
Thanked 3 Times in 3 Posts


Default

After adding the Ended view when I open up the config I get an unhandled exception. Field 'WindowPlugins.GUITVSeries.Translation.Ended' not found.

when i delete the row (#7, id 6) that I just added using your viewConfig, TransToken, etc. it works again.

latest svn of MP and latest 2.0 svn (315) of MPTV



if i edit one of the existing ones it works fine

Last edited by pgjensen; 2008-05-15 at 22:16.
pgjensen is offline   Reply With Quote
Old 2008-05-15, 22:08   #8 (permalink)
Portal Member
 
Join Date: May 2008
Posts: 59
Thanks: 0
Thanked 3 Times in 3 Posts


Default sql pic

picture attached of sql program
Attached Thumbnails
define-view-import-path-ended.jpg  
pgjensen is offline   Reply With Quote
Old 2008-05-15, 22:25   #9 (permalink)
Portal Member
 
spuck's Avatar
 
Join Date: Apr 2007
Location: north pole
Age: 21
Posts: 327
Thanks: 12
Thanked 51 Times in 29 Posts

Country:

My System

Default

Think you have to write a something in PrettyName column if I remember correctly.
spuck is offline   Reply With Quote
Old 2008-05-15, 22:28   #10 (permalink)
Portal Member
 
Join Date: Jun 2007
Age: 22
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts

Country:


Default

It should work, you just have to add all the info correctly. Just tested it, and it works perfectly for me Guess "ID" and "sort" should be unique. Here's a screenshot:



If you learn the syntax, there are a lot of views you could make. I had a "Unwatched Ended Favourites" a while back...
tomeirik is offline   Reply With Quote
Reply

Bookmarks

Tags
define, import, path, view

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
TVMovie-Import: EPGData are duplicated which each import in some cases kuehnch pre 1.0 RC1 3 2007-09-05 10:40
Ability to exclude files in a choosen path from a view Saiasan Improvement Suggestions 0 2007-09-02 13:37
HOW TO define channels to my epg TONY222 Electronic Program Guide 0 2007-09-01 20:29
How to change / define "view modes" when watching a movie? tzi General Support 0 2006-11-24 13:57
Where can I set TV recoring path /timeshift path? Al_Capone General Support 2 2006-10-01 12:16


All times are GMT +1. The time now is 09:35.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden