家庭多媒体中心Kodi

1. Kodi + Win7/Win8 + PC remoter controller

Kodi

Kodi 由XBMC基金会开发的一款经典免费开源、跨平台且极其强大专业的多媒体影音中心软件播放器,包含了专业的影音内容管理以及解码播放功能一体,提供适合在电视/投影/大屏幕上显示的全屏界面,无线手机遥控操作方式,以及功能相当丰富的插件扩展,绝对是打造家庭影院 (影音中心) 和私人电影库的必备神器!它是Windows Media Center的很热门的替代物。Kodi 的可定制性很高,有许多皮肤可以更改软件外观及各种可以访问网络内容的插件,包括Spotify、鲨客、Pandora电台和Youtube。从版本12.0(代号“Frodo”)开始,XBMC附带录制直播节目的数位视频录像机图形界面前端,同时支持电子节目指南和高清视频录制,目前最新版本是17.1

下载地址

官网:https://kodi.tv/
推荐插件

除内置方式下载douban/MTime电影刮削器,还可下载豆瓣剧集的刮削器由ZIP方式安装:

中文插件库:点击下载

高清范HDfans:点击下载

遥控器

无线飞鼠无线键盘鼠标触摸板套装一体智能电视电脑遥控器升级版

https://item.jd.com/1612648956.html#crumb-wrap

或类似的无线鼠标遥控器,用于单间远程遥控系统。

其它备注

1. 安装完后,根据需要可在其内部安装必要的插件,如界面语言等待;

2. fonts选项改成arial based以后再切成中文界面(避免乱码);

3. 注意影视文件的命名规则

   电影可按照:  中文名.英文名.(年份).编码信息.[eXX].*    , XX=01,02....

   电视剧(剧集):  为了让douban刮削器工作,请按一下目录及文件命名规则:

           电视剧

               |————电视剧名

                                 |————— 中文名.英文名.(年份).编码信息.[sXX].eYY.*   , 期中sXX表示第几季,XX=01,02...;  eYY表示第几级YY=01,02,03...

  音乐:中文曲名.英文曲名.专辑名.(年份).编码信息.eYY.*, eYY表示第几曲YY=01,02,03...

https://kodi.wiki/view/Naming_video_files/Movies, 该网址有官方命名规则,可是第三方刮削器似乎没有完全遵循该规则实现,至少douban剧集刮削器目前版本是这样。

 

2. 支持pps:

pptviewer

pptviewer (office14)

advancedsettings.xml

(%appdata%\kodi\userdata)

<advancedsettings>
  <tvshowmatching>
    <regexp>[\\/]s([0-9]+)e([0-9]+)</regexp>
  </tvshowmatching>
  <pictureextensions>
    <add>.pps</add>
  </pictureextensions>
  <videoextensions>
    <add>.pps|.swf</add>
  </videoextensions>
</advancedsettings>
playercorefactory.xml

<playercorefactory>
  <players>
    <player name="PPTviewer" type="ExternalPlayer" audio="true" video="true">
     <filename>C:\Program Files (x86)\Microsoft Office\Office14\pptview.exe</filename>
     <args>/S /F "{1}"</args>
     <hidexbmc>false</hidexbmc>
     <hideconsole>false</hideconsole>
     <warpcursor>none</warpcursor>
    </player>
  </players>
  <rules action="prepend">
    <rule name="pps" filetypes="pps" player="PPTviewer" />
  </rules>
</playercorefactory>

 

(备注L: the argument "/S" prevents the splashscreen when using PPTviewer

/F fullscreen

)

3. Remap multimedia/hot keys(on keyboard/or remote controller)

1 APPCOMMAND_BROWSER_BACKWARD Navigate backward.
2 APPCOMMAND_BROWSER_FORWARD Navigate forward.
3 APPCOMMAND_BROWSER_REFRESH Refresh page.
4 APPCOMMAND_BROWSER_STOP Stop download.
5 APPCOMMAND_BROWSER_SEARCH Open search.
6 APPCOMMAND_BROWSER_FAVORITES Open favorites.
7 APPCOMMAND_BROWSER_HOME Navigate home.
8 APPCOMMAND_VOLUME_MUTE Mute the volume.
9 APPCOMMAND_VOLUME_DOWN Lower the volume.
10 APPCOMMAND_VOLUME_UP Raise the volume.
11 APPCOMMAND_MEDIA_NEXTTRACK Go to next track.
12 APPCOMMAND_MEDIA_PREVIOUSTRACK Go to previous track.
13 APPCOMMAND_MEDIA_STOP Stop playback.
14 APPCOMMAND_MEDIA_PLAY_PAUSE Play or pause playback.
15 APPCOMMAND_LAUNCH_MAIL Open mail.
16 APPCOMMAND_LAUNCH_MEDIA_SELECT Go to Media Select mode.
17 APPCOMMAND_LAUNCH_APP1 Start App1.
18 APPCOMMAND_LAUNCH_APP2 Start App2.
19 APPCOMMAND_BASS_DOWN Decrease the bass.
20 APPCOMMAND_BASS_BOOST Toggle the bass boost on and off.
21 APPCOMMAND_BASS_UP Increase the bass.
22 APPCOMMAND_TREBLE_DOWN Decrease the treble.
23 APPCOMMAND_TREBLE_UP Increase the treble.

 

How to make use of these commands? Well you can add or modify registry keys. For e.g., (from the thread) the mail key usually launches the default mail app.

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\15\RegisteredApp = "Mail"

If you want to replace this to open Notepad,

HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\AppKey\15\ShellExecute = "notepad.exe"

(Or change HKLM if you want to modify for all users etc)
RegisteredApp means the app registered for that function will be called. (Like Mail above)
Association Means the app associated with a particular file type will be opened. For e.g. the Media key is registered by default to .cda, meaning the default app used for playing music CDs will be opened on pressing that key.
ShellExecute opens a particular program to be run.

Original article: http://ashish.vashisht.net/2008/01/configuring-keyboard-multimedia-keys.html

 

For standalone external apps, redefine appCommand 7 to null(just rename reg value).

 

4. Remap kodi appCommand keys(system/kemap/appcommand.xml)

 

<?xml version="1.0" encoding="UTF-8"?>
<keymap>
<global>
<appcommand>
<browser_back>Back</browser_back>
<browser_forward/>
<browser_refresh/>
<browser_stop>Stop</browser_stop>
<browser_search/>
<browser_favorites>ActivateWindow(Favourites)</browser_favorites>
<browser_home>Stop</browser_home>
<volume_mute/>
<volume_down>VolumeDown</volume_down>
<volume_up>VolumeUp</volume_up>
<next_track>SkipNext</next_track>
<prev_track>SkipPrevious</prev_track>
<stop>Stop</stop>
<play_pause>PlayPause</play_pause>
<launch_mail/>
<launch_media_select>ActivateWindow(Music)</launch_media_select>
<launch_app1>ActivateWindow(Programs)</launch_app1>
<launch_app2>ActivateWindow(Programs)</launch_app2>
<play>Play</play>
<pause>Pause</pause>
<fastforward>FastForward</fastforward>
<rewind>Rewind</rewind>
<channelup>PageUp</channelup>
<channeldown>PageDown</channeldown>
</appcommand>
</global>
<videos>
<appcommand>
<browser_home>FirstPage</browser_home>
</appcommand>
</videos>
<pictures>
<appcommand>
<browser_home>FirstPage</browser_home>
</appcommand>
</pictures>
</keymap>

5. Define power off/standby key actions

Win7->Control panel->硬件和声音->更改电影按钮功能...

6. 参考

https://kodi.wiki/view/Main_Page

7.其它

(1) External player

<rule protocols="http|https" player="PotPlayer"/>
hta/swf等待处理类似
对potplayer默认全屏,支持multimedia keys

(2) External NFO

https://kodi.wiki/view/NFO_files/TV_shows

https://kodi.wiki/view/Custom_video_entries

https://nfo-maker.com/

海报无时可以自选->更新资料库及可保存

剧集->显示所有而不是非观看

posted @ 2018-09-10 08:58  Reboost  阅读(1989)  评论(0编辑  收藏  举报