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
Development
General Development (no feature request here!)
Weekend - Patch
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="bob987" data-source="post: 423094" data-attributes="member: 87778"><p>This Patch is made to allow MediaPortal to support countries in which the working days start on Sunday and not on Monday.</p><p></p><p>It is based on V1.0.2 (rev 22555)</p><p>The work was done only on the TVEngine3 part</p><p></p><p>Still working on updating all of the language files. Currently updated only strings_en.xml and strings_he.xml</p><p></p><p></p><p></p><p>The code is based on two new classes than will handle all of the places in which there is a decision about the weekend days.</p><p>The selection of the first day of the week is done in TV server congif -> recording page.</p><p></p><p></p><p>The classes are:</p><p>1) Used by the TvPlugin solution: </p><p>Named- WeekEndTools.cs</p><p>using= MediaPortal.GUI.Library, stored inside- core.dll.</p><p>MediaPortal -> Core -> guilib -> MediaPortal.GUI.Library</p><p></p><p>2) Used by the TvLibrary solution:</p><p>Named- TVLibWeekEndTools.cs</p><p>using=TvLibrary.Interfaces, stored inside- TvLibrary.Interfaces.dll</p><p>TvLibrary -> Library-> TVLibrary.interfaces -> interfaces</p><p></p><p></p><p></p><p>TVLibrary</p><p>Add the new UI to select the first working day of the week.</p><p>Update code in:</p><p>Setup GUI -> Setup Tv -> Sections -> TvRecording.cs</p><p>Plugins->ConflictsManager </p><p>Plugins->ScheduledRecordingsHandler.cs</p><p>Setup->TvSchedules.cs</p><p>TVDatabase ->Schedule.cs</p><p>TVDatabase->BusinessLayer.cs</p><p>TVService->Scheduler.cs</p><p></p><p>The value of DeltaInWorkingDay is inited from:</p><p> In TvService-> inside Service1.cs (when the service just starts)</p><p> (In TvSetup -> no need)</p><p></p><p></p><p>TVPlugin</p><p>Update code in:</p><p>TvPlugin -> TVConflicts.cs</p><p>TvPlugin -> TvNewScheduleSearchType.cs</p><p>TvPlugin -> TVPriorities.cs</p><p>TvPlugin -> TVProgramInfo.cs</p><p>TvPlugin -> TVScheduler.cs</p><p>TvPlugin -> TVSearch.cs</p><p>TvPlugin -> TVUtil.cs</p><p></p><p>The value of DeltaInWorkingDay is inited from:</p><p>In TvPlugin-> inside TvHome.cs --> init()</p><p>In Database -> TvBusinessLayer -> BusinessLayer.cs (see remark in Tvlibweekendtool)</p><p></p><p></p><p>Bob</p></blockquote><p></p>
[QUOTE="bob987, post: 423094, member: 87778"] This Patch is made to allow MediaPortal to support countries in which the working days start on Sunday and not on Monday. It is based on V1.0.2 (rev 22555) The work was done only on the TVEngine3 part Still working on updating all of the language files. Currently updated only strings_en.xml and strings_he.xml The code is based on two new classes than will handle all of the places in which there is a decision about the weekend days. The selection of the first day of the week is done in TV server congif -> recording page. The classes are: 1) Used by the TvPlugin solution: Named- WeekEndTools.cs using= MediaPortal.GUI.Library, stored inside- core.dll. MediaPortal -> Core -> guilib -> MediaPortal.GUI.Library 2) Used by the TvLibrary solution: Named- TVLibWeekEndTools.cs using=TvLibrary.Interfaces, stored inside- TvLibrary.Interfaces.dll TvLibrary -> Library-> TVLibrary.interfaces -> interfaces TVLibrary Add the new UI to select the first working day of the week. Update code in: Setup GUI -> Setup Tv -> Sections -> TvRecording.cs Plugins->ConflictsManager Plugins->ScheduledRecordingsHandler.cs Setup->TvSchedules.cs TVDatabase ->Schedule.cs TVDatabase->BusinessLayer.cs TVService->Scheduler.cs The value of DeltaInWorkingDay is inited from: In TvService-> inside Service1.cs (when the service just starts) (In TvSetup -> no need) TVPlugin Update code in: TvPlugin -> TVConflicts.cs TvPlugin -> TvNewScheduleSearchType.cs TvPlugin -> TVPriorities.cs TvPlugin -> TVProgramInfo.cs TvPlugin -> TVScheduler.cs TvPlugin -> TVSearch.cs TvPlugin -> TVUtil.cs The value of DeltaInWorkingDay is inited from: In TvPlugin-> inside TvHome.cs --> init() In Database -> TvBusinessLayer -> BusinessLayer.cs (see remark in Tvlibweekendtool) Bob [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Weekend - Patch
Contact us
RSS
Top
Bottom