MyTVSeries - Plugin that organizes TV Video Files (2 Viewers)

Should I implement an automatic file organizer to move and rename files?


  • Total voters
    651

garyday

Portal Member
March 1, 2006
48
0
Dubai
Home Country
United Kingdom United Kingdom
idioteque2,

you can simply mod the TVSeries.xml in your skin directory to fix this..
take the skin from 0.25 look at the difference to 0.28 and make the change.

I managed to make .28 look like 0.25 (but keep all the features of .28)
in about 2 mins, and that was the first time i ever looked as how the Skins work in XML.. It's pretty easy..

Gary
 

jawbroken

Portal Pro
August 13, 2005
706
0
Home Country
Afghanistan Afghanistan
Also the F9 button should be assigned to a button on your remote already, it is the context menu button and is pretty essential in MediaPortal (at least I use it all the time). It is used in almost every screen (watching live tv, tv guide, music, etc).
 

Inker

Retired Team Member
  • Premium Supporter
  • December 6, 2004
    2,055
    318
    strontium said:
    Isn't that what already happens. The plugin scan all the files, ignores any file already in the database, and imports the rest.

    That is what happens when I import extra video's.

    Just tried with 28a, and it went through the whole thing again, meaning it imported all the files again.

    Wee, please make this a priority because its unusable if I have to reimport everything all the time.

    Thnx

    EDIT: correction, I just ran it again and this time it didnt...so, I dunno. But please keep this in mind.
     

    Brocklander

    Retired Team Member
  • Premium Supporter
  • September 15, 2004
    347
    2
    Wellington
    Home Country
    New Zealand New Zealand
    Hey Wee, I've had another two errors since I talked to you, all of them the same. I'm not sure if they crashed MP, because I wasn't home and there were another two other errors in the log. I might just start with a new database.

    Code:
    11/03/2006 1:53:49 p.m. SQL:TVSeriesDatabase3.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR detailed:table path already exists query:CREATE TABLE path (path_id integer primary key, path text);
    
    11/03/2006 1:53:49 p.m. SQL:TVSeriesDatabase3.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR detailed:table series already exists query:CREATE TABLE series (series_id integer primary key, name text, premiered text, airs text, status text, duration text, network text, description text, image_url text, summary_url text);
    
    11/03/2006 1:53:49 p.m. SQL:TVSeriesDatabase3.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR detailed:table episode already exists query:CREATE TABLE episode (episode_id integer primary key, series_id integer, title text, aired text, season_number int, episode_number integer, filename text, description text, image_url text, summary_url text);
    
    11/03/2006 1:53:49 p.m. SQL:TVSeriesDatabase3.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR detailed:table genre already exists query:CREATE TABLE genre (genre_id integer primary key, name text);
    
    11/03/2006 1:53:49 p.m. SQL:TVSeriesDatabase3.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR detailed:table genre_series_link already exists query:CREATE TABLE genre_series_link (link_id integer primary key, genre_id int, series_id int);
    
    11/03/2006 1:53:49 p.m. SQL:TVSeriesDatabase3.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR detailed:table actor already exists query:CREATE TABLE actor (actor_id integer primary key, name text, character text);
    
    11/03/2006 1:53:49 p.m. SQL:TVSeriesDatabase3.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR detailed:table actor_episode_link already exists query:CREATE TABLE actor_episode_link (link_id integer primary key, actor_id int, episode_id integer);
    
    11/03/2006 1:53:49 p.m. SQL:TVSeriesDatabase3.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR detailed:table replacementstring already exists query:CREATE TABLE replacementstring (replacementstring_id integer primary key, search text, replace text);
    
    11/03/2006 1:53:49 p.m. SQL:TVSeriesDatabase3.db3 cmd:sqlite3_prepare16:pvm=null err:ERROR detailed:table pattern already exists query:CREATE TABLE pattern (pattern_id integer primary key, pattern text);
     

    graemef

    Portal Pro
    November 28, 2004
    128
    4
    55
    Perth
    Home Country
    LordMessi said:
    graemef said:
    senhwei said:
    Firstly, how do you enable the import function within the GUI ? I've updated all the files (except for the database) from your latest binary release. But I don't see the import button as shown in your screenshot.

    senhwei

    I love this plugin, but I am in the same boat, I cannot see the buttons shown in the screen shots :(

    It has changed - Press the F9 button.

    Hi there, I press the F9 button and am immediately dropped back to windows. No error, just instant shutdown ? Any ideas ?
     

    WeeToddDid

    Retired Team Member
  • Premium Supporter
  • December 2, 2005
    127
    0
    Ottawa, Canada
    graemef said:
    LordMessi said:
    graemef said:
    senhwei said:
    Firstly, how do you enable the import function within the GUI ? I've updated all the files (except for the database) from your latest binary release. But I don't see the import button as shown in your screenshot.

    senhwei

    I love this plugin, but I am in the same boat, I cannot see the buttons shown in the screen shots :(

    It has changed - Press the F9 button.

    Hi there, I press the F9 button and am immediately dropped back to windows. No error, just instant shutdown ? Any ideas ?
    ]

    I have been developing this plugin using the latest CVS version of MP. Maybe there is some compatibility issues.
     

    graemef

    Portal Pro
    November 28, 2004
    128
    4
    55
    Perth
    Home Country
    Thanks for that, I am running one of the CVS's, but it is probably a few weeks old, I will try the latest and see how it goes. This is probably my most used plugin now, looking forward to the completed product based on what I have read here.
     

    WeeToddDid

    Retired Team Member
  • Premium Supporter
  • December 2, 2005
    127
    0
    Ottawa, Canada
    graemef said:
    Thanks for that, I am running one of the CVS's, but it is probably a few weeks old, I will try the latest and see how it goes. This is probably my most used plugin now, looking forward to the completed product based on what I have read here.

    I will add error checking in the next release.
     

    Todd

    Portal Member
    March 14, 2006
    6
    0
    Fairfield, CT USA
    File Naming

    Hi Wee,
    First, excellent job! I'm relatively new to MP, but have really been pleased so far and your plugin is a big part of it.

    I just wanted to mention something that might be no-brainer...
    My Tivo desktop app downloads files using the naming convention -
    Series - ''Episode'' (Date, Station, Channel).TiVo [BTW, those are two single quotes. Ugh!]
    As in -
    Lost - ''One of Them'' (Recorded Feb 15, 2006, WABCDT).TiVo

    Since I have a couple hundred files like this, I'd like to avoid renaming if I can. I've used Renamer to make them a little more friendly, but without season and episode numbers, I haven't had real good luck. I'm not sure how the lookup parameters work so this may not be possible. (I've had the Tivo for a couple years and MP for a couple of weeks so I'm still switching over.)

    I work in C# so I have the source and will be taking a look, but thought I would bring it to your attention.

    Thanks again for a great job!!
     

    WeeToddDid

    Retired Team Member
  • Premium Supporter
  • December 2, 2005
    127
    0
    Ottawa, Canada
    Re: File Naming

    Todd said:
    I just wanted to mention something that might be no-brainer...
    My Tivo desktop app downloads files using the naming convention -
    Series - ''Episode'' (Date, Station, Channel).TiVo [BTW, those are two single quotes. Ugh!]
    As in -
    Lost - ''One of Them'' (Recorded Feb 15, 2006, WABCDT).TiVo

    Welcome to MediaPortal. You don't even need to look at the source to fix this. All you need to do is the following:
    - Open the MediaPortal Configuration application, and enter the configuration of the plugin.
    - Modify the File Parsing Regular Expressions.

    If you don't know alot about regular expressions, here is a link that might help: http://www.amk.ca/python/howto/regex/

    if your not interested in figuring out Regular expressions. I will do them for you. Just do a DIR /S /B > fileslist.txt and send me the text file by email.

    PS: If you're a real keener, think about developing a plugin for MediaPortal. If this sounds like something you might be interested in, but don't know where to start..... I can give you a run down of this plugin, with the hopes that you can become a co-author...

    PPS: That goes for anyone with knowledge of C#.
     

    Users who are viewing this thread

    Top Bottom