TV Server Plugin: TvWishList (4 Viewers)

O

OL_1973

Guest
AW: TV Server Plugin: TvWishList

Hi huha,

I`m using your plugin for some time. It`s great and help me to schedule all my favorite series. :D

But, since MediaPortal 1.2.1 or earlier all scheduled series / episodes are not correctly stored on hdd. Means, I`m using the "episodenscanner" to integrate the series- and episodesnumbers to the database.

In the tvserver_tv.log for the scheduled records aren`t the seriesNum and episodesNum. In this fact the entries in the database also empty.

A search in the forum I found an information that seriesNum and episodesNum aren`t put in the database if the recordtype is "Once".

A test with Mediaportal with scheduling a series with the new Recording option (can't find it at the moment) takes a correct record with correct filename and in the right folder on hdd.

:D for help to find the issue / error / mistake ;-)

Here is a sample of tv_server.log:
Code:
**********************************************************************************
2011-09-28 17:35:55.000570 [(8)]: TvWishList EpgClass: ProgramName=           Castle
2011-09-28 17:35:55.000570 [(8)]: TvWishList EpgClass: Description=           Folge: Countdown (60 min)
Aus: USA 2010
Das NYPD und der Heimatschutz suchen fieberhaft nach der verschwundenen Atombombe, deren Zeitzünder bereits ausgelöst wurde. Da Beckett und Castle durch Agent Fallon von dem Fall ausgeschlossen wurden, ermitteln sie auf eigene Faust. Mit fatalen Folgen: Das Duo sitzt in einem Kühllaster fest und droht zu erfrieren.

Das Heimatschutzministerium wurde nach den Terroranschlägen vom 11. September 2001 geschaffen und hat rund 200.000 Mitarbeiter. In ihm wurden vorher unabhängige Behörden wie der Zoll und die Küstenwache zusammengelegt.
Regie: Bill Roe
Mit: Nathan Fillion (Richard Castle);Stana Katic (Kate Beckett);Molly C. Quinn (Alexis Castle);Seamus Dever (Kevin Ryan);Susan Sullivan (Martha Rodgers);Jon Huertas (Javier Esposito);Adrian Pasdar (Agent Mark Fallon);Bahar Soomekh (****hah Alhabi);Lochlyn Munro (Kevin McCann);Daryn Okada (Kamera);Robert Duncan (Musik);Andrew W. Marlowe (Drehbuch)

2011-09-28 17:35:55.000570 [(8)]: TvWishList EpgClass: Genre=           Krimiserie
2011-09-28 17:35:55.000570 [(8)]: TvWishList EpgClass: Classification=           0
2011-09-28 17:35:55.000570 [(8)]: TvWishList EpgClass: [B]EpisodeNum=           [/B]
2011-09-28 17:35:55.000570 [(8)]: TvWishList EpgClass: EpisodeName=           Countdown
2011-09-28 17:35:55.010570 [(8)]: TvWishList EpgClass: [B]EpisodeNumber=           [/B]
2011-09-28 17:35:55.010570 [(8)]: TvWishList EpgClass: EpisodePart=           
2011-09-28 17:35:55.010570 [(8)]: TvWishList EpgClass: OriginalAirDate=           01.01.2010 00:00:00
2011-09-28 17:35:55.010570 [(8)]: TvWishList EpgClass: ParentalRating=           0
2011-09-28 17:35:55.010570 [(8)]: TvWishList EpgClass: [B]SeriesNum=           [/B]
2011-09-28 17:35:55.010570 [(8)]: TvWishList EpgClass: StarRating=           -1
2011-09-28 17:35:55.010570 [(8)]: TvWishList EpgClass: Channel=               kabel eins
2011-09-28 17:35:55.010570 [(8)]: TvWishList EpgClass: START_TIME=            2011-09-30_20:15
2011-09-28 17:35:55.010570 [(8)]: TvWishList EpgClass: END_TIME=              2011-09-30_21:15
2011-09-28 17:35:55.010570 [(8)]: TvWishList EpgClass: 
2011-09-28 17:35:55.020570 [(8)]: TvWishList EpgClass: TvWishList: Exclude1=(WDH.)
2011-09-28 17:35:55.020570 [(8)]: TvWishList EpgClass: TvWishList: Exclude2=
2011-09-28 17:35:55.020570 [(8)]: TvWishList EpgClass: No Exclude of program for title Castle at 30.09.2011 20:15:00
2011-09-28 17:35:55.050570 [(8)]: TvWishList EpgClass: Addsingleschedule
2011-09-28 17:35:55.050570 [(8)]: TvWishList EpgClass: programName=Castle
2011-09-28 17:35:55.050570 [(8)]: TvWishList EpgClass: idChannel=1006
2011-09-28 17:35:55.050570 [(8)]: TvWishList EpgClass: startTime=30.09.2011 20:15:00
2011-09-28 17:35:55.050570 [(8)]: TvWishList EpgClass: endTime=30.09.2011 21:15:00
2011-09-28 17:35:55.050570 [(8)]: TvWishList EpgClass: scheduletype=0
2011-09-28 17:35:55.050570 [(8)]: TvWishList EpgClass: action=Both
2011-09-28 17:35:55.050570 [(8)]: TvWishList EpgClass: [B]Series=False[/B]
2011-09-28 17:35:55.050570 [(8)]: TvWishList EpgClass: 
2011-09-28 17:35:55.060570 [(8)]: select id_Schedule, idChannel, idParentSchedule, scheduleType, programName, startTime, endTime, maxAirings, priority, directory, quality, keepMethod, keepDate, preRecordInterval, postRecordInterval, canceled, recommendedCard, series from Schedule where idChannel = ?idChannel and programName = ?programName and startTime = ?startTime and endTime = ?endTime and scheduleType = ?scheduleType;
2011-09-28 17:35:55.060570 [(8)]: TvWishList EpgClass: schedule.Series=False
2011-09-28 17:35:55.160570 [(8)]: TvWishList EpgClass: schedule created
2011-09-28 17:35:55.160570 [(8)]: TvWishList EpgClass: allschedule
2011-09-28 17:35:55.160570 [(8)]: TvWishList EpgClass: start filterfunctions
2011-09-28 17:35:55.160570 [(8)]: TvWishList EpgClass: afterhours filter
2011-09-28 17:35:55.170570 [(8)]: TvWishList EpgClass: start WithinNextHours
2011-09-28 17:35:55.170570 [(8)]: TvWishList EpgClass: start channelfilter
2011-09-28 17:35:55.170570 [(8)]: TvWishList EpgClass: channelname=kabel eins
2011-09-28 17:35:55.170570 [(8)]: TvWishList EpgClass: channelfilter=kabel eins
2011-09-28 17:35:55.170570 [(8)]: TvWishList EpgClass: start filterseries
2011-09-28 17:35:55.170570 [(8)]: TvWishList EpgClass: start filterepisodename
2011-09-28 17:35:55.170570 [(8)]: TvWishList EpgClass: start filterepisode part
2011-09-28 17:35:55.170570 [(8)]: TvWishList EpgClass: start filterepisodenumber
2011-09-28 17:35:55.180570 [(8)]: TvWishList EpgClass: check for conflicts
2011-09-28 17:35:55.190570 [(8)]: TvWishList EpgClass: GetConflictingSchedules: Schedule = Castle on 1006 30.09.2011 20:15:00 - 30.09.2011 21:15:00  ID=1057
2011-09-28 17:35:55.320570 [(8)]: AssignSchedulesToCard: free on card 0, ID = 2
2011-09-28 17:35:55.320570 [(8)]: TvWishList EpgClass: start priorityprocessing
2011-09-28 17:35:55.320570 [(8)]: TvWishList EpgClass: 
2011-09-28 17:35:55.320570 [(8)]: TvWishList EpgClass: *******************************************************************************
 

huha

Extension Developer
January 3, 2008
890
556
Home Country
Germany Germany
Hungriger Hugo,
i forgot to include the StreamedMP skin from diebagger into the mpei installer. As a As a quick fix download TvWishList.Ver.x.x.x.x.release.zip from the first post, unzip first and then run install.exe.
The UseFolder has not been deleted, but has been changed. There is a drop down box under the second name (should be" use folder" in the tv server plugin with the options
- None (no folder)
- Episode (this is the old All Episodes recording option and will use the MP episode folder and episode management
- Name (this will use a folder from the name and move the movies in)
Check the manual for more details

wjw, yes i would be interested to get a log and check

OL1973, please try like Hungriger Hugo the Use Folder = Episode option, as this does activate the MP Episode Mnagement. From your log file i saw "None" or "Name" selected.


I will be out the next days and follow up next week.
 

wjw

Portal Pro
July 13, 2008
378
45
Home Country
United Kingdom United Kingdom
huha,

TV Log from this morning attached. I deleted the schedule, then re-instated and reran Wishlist. Hope this helps.
 

chrik

MP Donator
  • Premium Supporter
  • May 13, 2008
    160
    20
    Home Country
    Denmark Denmark
    How do I delete the old results from within MP 1.2.1 with skin StreamedMP? I can´t clear the results they show results from all my searches. Really annoying, but I am very happy that I have found your plugin and hope you will keep developing it.
     

    huha

    Extension Developer
    January 3, 2008
    890
    556
    Home Country
    Germany Germany
    chrik,
    go to the tvserverplugin -> formats and click delete message file.
    This will be adressed for the next version by a better way

    wjw, thanks for the log file. i will look into it.
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    Hi,

    With the latest version, 1.2.0.17, I am finding that when I try to enter the plugin in the MediaPortal UI, I am getting an error message that the MP plugin and the TV server plugin are not the same. However, when I check the version number they definitely are.

    I get the same errors whether I use the Avalon skin (support for the plugin is now in the GIT repository) or DefaultWide.

    I have reinstalled to check this, and still see the problem. The logs are not specific about the version number it thinks it is finding. Is it possible that you forgot a version number update in either the server or client when you released 1.2.0.17 ?

    Can anyone else confirm the problem? If not, then I will post logs/reinstall.

    Oh, and could I reiterate my request for a separate log file for this plugin? It logs a vast amount of data to the main MediaPortal log.

    Best wishes,

    Mark
     

    huha

    Extension Developer
    January 3, 2008
    890
    556
    Home Country
    Germany Germany
    foxbenw,
    thanks a lot for this info. i was not aware of this. The TvWishList plugin is using its own management for recognizing duplicate or repeated episodes, so it should not be affected by this.

    elliottmc,
    please post a log file and let me know the content of the text file C:\ProgramData\Team MediaPortal\MediaPortal TV Server\TvWishList\version.txt. The separate log file is on my todo list.

    A quick update on development: I am doing a major code cleanup right now by merging the tvserver and the MP plugin. This will ensure easier maintenance for me in the future. I am introducing separate counters for scheduled, recorded, deleted, emailed which will improve avoiding repeated episodes and fixes some concept flaws as described earlier. I hope to have another version by end of next week and will need your help in testing again.

    There is still a bug when using folders for "Name" if more than one movie is recorded.
     

    elliottmc

    Retired Team Member
  • Premium Supporter
  • August 7, 2005
    14,927
    6,061
    Cardiff, UK
    Home Country
    United Kingdom United Kingdom
    please post a log file and let me know the content of the text file C:\ProgramData\Team MediaPortal\MediaPortal TV Server\TvWishList\version.txt.

    version.txt has "Version 1.2.0.17".

    MediaPortal.log attached. The relevant bit seems to be

    Code:
    2011-10-04 23:41:18.673800 [Debug][MPMain(1)]: Window: MediaPortal.GUI.Home.GUIHome deinit
    2011-10-04 23:41:18.688800 [Debug][MPMain(1)]: TextureManager: CleanupThumbs()
    2011-10-04 23:41:19.002800 [Debug][MPMain(1)]: Window: TvWishList.TvWishListMP_GUI init
    2011-10-04 23:41:19.004800 [Debug][MPMain(1)]: [TVWishListMP]:OnPageLoad  VIEWONLY=False
    2011-10-04 23:41:19.004800 [Debug][MPMain(1)]: Previous WidowID=0
    2011-10-04 23:41:19.005800 [Debug][MPMain(1)]: [TVWishListMP Localice Strings]: id= 4306 string= TvWishList MediaPortal Plugin Does Not Match To TvWishList TV Server Plugin
    2011-10-04 23:41:19.008800 [Warn.][MPMain(1)]: GUIWindow:OnWindowLoaded: 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\Avalon\DialogMenu.xml' is missing control id 2 (window property: btnClose)
    2011-10-04 23:41:19.009800 [Warn.][MPMain(1)]: GUIWindow:OnWindowLoaded: 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\Avalon\DialogMenu.xml' is missing control id 5 (window property: lblHeading2)
    2011-10-04 23:41:19.270800 [Debug][MPMain(1)]: [TVWishListMP Localice Strings]: id= 4305 string= Error
    2011-10-04 23:41:19.271800 [Debug][MPMain(1)]: [TVWishListMP Localice Strings]: id= 4306 string= TvWishList MediaPortal Plugin Does Not Match To TvWishList TV Server Plugin
    2011-10-04 23:41:19.274800 [Debug][MPMain(1)]: WindowManager: route TvWishList.TvWishListMP_GUI:70943675->MediaPortal.Dialogs.GUIDialogMenu:2012
    2011-10-04 23:41:19.277800 [Debug][MPMain(1)]: DialogWindow: MediaPortal.Dialogs.GUIDialogMenu init
    2011-10-04 23:41:22.939800 [Debug][MPMain(1)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogMenu:2012->TvWishList.TvWishListMP_GUI:70943675
    2011-10-04 23:41:22.958800 [Debug][MPMain(1)]: [TVWishListMP]:OnPageDestroy  new windowID=0
    2011-10-04 23:41:22.959800 [Debug][MPMain(1)]: [TVWishListMP]:VIEWONLY=False
    2011-10-04 23:41:22.961800 [Debug][MPMain(1)]: [TVWishListMP]:TvserverdatabaseSaveSettings
    2011-10-04 23:41:22.962800 [Debug][MPMain(1)]: 
    2011-10-04 23:41:22.965800 [Debug][MPMain(1)]: RemoteControl.IsConnected=True
    2011-10-04 23:41:22.973800 [Debug][MPMain(1)]: ConvertToString
    2011-10-04 23:41:22.974800 [Debug][MPMain(1)]: VIEWONLY =False
    2011-10-04 23:41:22.974800 [Debug][MPMain(1)]: VIEWONLY = false  TvWishList_ListView 
    2011-10-04 23:41:22.975800 [Debug][MPMain(1)]: save_longsetting mystring=
    2011-10-04 23:41:22.976800 [Debug][MPMain(1)]: mysetting=TvWishList_ListView
    2011-10-04 23:41:23.053800 [Debug][MPMain(1)]: //do not split string - small enoughstring  TvWishList_ListView=
    2011-10-04 23:41:23.054800 [Debug][MPMain(1)]: SaveSetings: MaxTvWishId=0
    2011-10-04 23:41:23.055800 [Debug][MPMain(1)]: Tv Server SaveSetting time was :00:00:00.0940000
    2011-10-04 23:41:23.055800 [Debug][MPMain(1)]: [TVWishListMP Localice Strings]: id= 1300 string= TvWish data have been saved
    2011-10-04 23:41:23.056800 [Debug][MPMain(1)]: [TVWishListMP Localice Strings]: id= 4400 string= Info
    2011-10-04 23:41:23.058800 [Warn.][MPMain(1)]: GUIWindow:OnWindowLoaded: 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\Avalon\DialogMenu.xml' is missing control id 2 (window property: btnClose)
    2011-10-04 23:41:23.059800 [Warn.][MPMain(1)]: GUIWindow:OnWindowLoaded: 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\Avalon\DialogMenu.xml' is missing control id 5 (window property: lblHeading2)
    2011-10-04 23:41:23.060800 [Debug][MPMain(1)]: [TVWishListMP Localice Strings]: id= 1300 string= TvWish data have been saved
    2011-10-04 23:41:23.061800 [Debug][MPMain(1)]: WindowManager: route TvWishList.TvWishListMP_GUI:70943675->MediaPortal.Dialogs.GUIDialogMenu:2012
    2011-10-04 23:41:23.062800 [Debug][MPMain(1)]: DialogWindow: MediaPortal.Dialogs.GUIDialogMenu init
    2011-10-04 23:41:24.359800 [Debug][MPMain(1)]: WindowManager: unroute to MediaPortal.Dialogs.GUIDialogMenu:2012->TvWishList.TvWishListMP_GUI:70943675
    2011-10-04 23:41:24.758800 [Debug][MPMain(1)]: Window: TvWishList.TvWishListMP_GUI deinit
    2011-10-04 23:41:24.761800 [Debug][MPMain(1)]: TextureManager: CleanupThumbs()
    2011-10-04 23:41:24.782800 [Warn.][MPMain(1)]: GUIWindow:OnWindowLoaded: 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\Avalon\myHome.xml' is missing control id 200 (window property: lblDate)
    2011-10-04 23:41:24.782800 [Warn.][MPMain(1)]: GUIWindow:OnWindowLoaded: 'C:\ProgramData\Team MediaPortal\MediaPortal\Skin\Avalon\myHome.xml' is missing control id 201 (window property: lblTime)
    2011-10-04 23:41:24.804800 [Debug][MPMain(1)]: Window: MediaPortal.GUI.Home.GUIHome init

    I also tested on a multiseat client, and got a different error,

    Code:
    2011-10-05 07:39:32.962000 [ERROR][MPMain(1)]: Error initializing window:TvWishList.TvWishListMP_GUI Could not find file 'C:\Version.txt'. mscorlib    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
       at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
       at System.IO.StreamReader..ctor(String path, Encoding encoding)
       at System.IO.File.ReadAllText(String path, Encoding encoding)
       at TvWishList.TvWishListMP_GUI.Init()
       at MediaPortal.GUI.Library.PluginManager.LoadWindowPlugin(String strFile)
    2011-10-05 07:40:12.630000 [ERROR][MPMain(1)]: OnMessage exception:System.NullReferenceException: Object reference not set to an instance of an object.
       at TvWishList.TvWishListMP_GUI.UpdateListItems()
       at TvWishList.TvWishListMP_GUI.OnPageLoad()
       at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)
    2011-10-05 07:40:21.827000 [ERROR][MPMain(1)]: OnMessage exception:System.NullReferenceException: Object reference not set to an instance of an object.
       at TvWishList.TvWishListMP_GUI.OnPageDestroy(Int32 newWindowId)
       at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message)

    Best wishes,

    Mark
     

    Users who are viewing this thread

    Top Bottom