Правим

nano .kodi/userdata/RssFeeds.xml

<?xml version=»1.0″ encoding=»UTF-8″ standalone=»yes»?>

<rssfeeds>

<!— RSS feeds. To have multiple feeds, just add a feed to the set. You can also have multiple sets.     !—>

<!— To use different sets in your skin, each must be called from skin with a unique id.                 !—>

<set id=»1″>

<feed updateinterval=»120″>http://today.kz/feed/</feed>

<feed updateinterval=»120″>http://news.yandex.ru/index.rss</feed>

<feed udateinterval=»120″>http://news.yandex.ru/movies.rss</feed>

<feed updateinterval=»120″>http://news.yandex.ru/Kazakhstan/index.rss</feed>

</set>

</rssfeeds>

Настройка пульта ComPro K300 для работы с медиасервером  Kodi.

k300

читать дальше

Для начала правим карту команд

sudo nano /usr/share/xbmc/system/Lircmap.xml

добавляем наш пульт:

<remote device=»ComPro_VideoMate-K300″>

<play>Play</play>

<pause>Pause</pause>

<stop>Stop</stop>

<forward>Fwdwind</forward>

<reverse>Rewind</reverse>

<left>ArrowLeft</left>

<right>ArrowRight</right>

<up>ArrowUp</up>

<down>ArrowDown</down>

<select>OK</select>

<pageplus>ChannelUp</pageplus>

<pageminus>ChannelDown</pageminus>

<back>BackExit</back>

<menu>Menu</menu>

<title>Guide</title>

<info>More</info>

<skipplus>SkipBack</skipplus>

<skipminus>SkipFwd</skipminus>

<display>RecordTV</display>

<start>DVDMenu</start>

<record>Record</record>

<volumeplus>VolumeUp</volumeplus>

<volumeminus>VolumeDown</volumeminus>

<mute>Mute</mute>

<power>Power</power>

<myvideo>Video</myvideo>

<mymusic>Music</mymusic>

<mypictures>Picture</mypictures>

<mytv>LiveTv</mytv>

<one>1</one>

<two>2</two>

<three>3</three>

<four>4</four>

<five>5</five>

<six>6</six>

<seven>7</seven>

<eight>8</eight>

<nine>9</nine>

<zero>0</zero>

<star>Star</star>

<hash>Hash</hash>

<clear>Clean</clear>

<enter>Enter</enter>

<red>Red</red>

<green>Green</green>

<yellow>Yellow</yellow>

<blue>Blue</blue>

<teletext>Text</teletext>

</remote>

Конфигурация для пульта в lirc

sudo mkdir /usr/share/lirc/remotes/compro/

sudo nano /usr/share/lirc/remotes/compro/lircd.conf.compro

# Please make this file available to others

# by sending it to <lirc@bartelmus.de>

#

# this config file was automatically generated

# using lirc-0.8.6(default) on Fri Mar 26 18:53:08 2010

#

# contributed by : Michael Reimer Christensen

#

# brand: ComPro Technology Inc.

# model no. of remote control: VideoMate-K300

# devices being controlled by this remote:

#

#

# Mythbuntu 9.10 Kernel 2.6.31-14-generic

#

# dmesg:

#       lirc_mceusb: Windows Media Center Edition USB IR Transceiver driver for LIRC 1.90

#       lirc_mceusb: Daniel Melander <lirc@rajidae.se>, Martin Blatter <martin_a_blatter@yahoo.com>, Dan Conti <dconti@acm.wwu.edu>

#       lirc_mceusb[5]: COMPRO VideoMate IR20

#

# lsusb:

#       Bus 006 Device 005: ID 185b:3020 Compro

#

begin remote

name  ComPro_VideoMate-K300

bits           13

flags RC6|CONST_LENGTH

eps            30

aeps          100

header       2746   836

one           490   397

zero          490   397

pre_data_bits   24

pre_data       0x1BFF83

gap          106125

min_repeat      1

toggle_bit_mask 0x8000

rc6_mask    0x100000000

begin codes

Power                    0x1BF3

ArrowUp                  0x1BE1

ArrowDown                0x1BE0

ArrowRight               0x1BDE

ArrowLeft                0x1BDF

OK                       0x1BDD

BackExit                 0x1BDC

Menu                     0x1BF2

More                     0x1BF0

SkipBack                 0x1BE4

Record                   0x1BE8

Stop                     0x1BE6

SkipFwd                  0x1BE5

Rewind                   0x1BEA

Play                     0x1B91

Fwdwind                  0x1BEB

VolumeUp                 0x1BEF

VolumeDown               0x1BEE

Mute                     0x1BF1

ChannelUp                0x1BED

ChannelDown              0x1BEC

Video                    0x1BB5

Radio                    0x1BAF

Music                    0x1BB8

Picture                  0x1BB6

RecordTV                 0x1BB7

Guide                    0x1BD9

LiveTv                   0x1BDA

DVDMenu                  0x1BDB

1                        0x1BFE

2                        0x1BFD

3                        0x1BFC

4                        0x1BFB

5                        0x1BFA

6                        0x1BF9

7                        0x1BF8

8                        0x1BF7

9                        0x1BF6

Star                     0x1BE2

0                        0x1BFF

Hash                     0x1BE3

Clean                    0x1BF5

Enter                    0x1BF4

Red                      0x1BA4

Green                    0x1BA3

Yellow                   0x1BA2

Blue                     0x1BA1

Text                     0x1BA5

end codes

end remote

Подключаем конфигурацию:

sudo nano /etc/lirc/lircd.conf

include «/usr/share/lirc/remotes/compro/lircd.conf.compro»

перезагрузка lirc

sudo service lirc restart

если вылазит ошибка :

unable to load LIRC kernel modules. Verify your * selected kernel modules in /etc/lirc/hardware.conf

то правим

sudo nano /etc/lirc/hardware.conf

коментируем #REMOTE=»Windows Media Center Remotes (new version Philips et al.)»

коментируем #REMOTE_MODULES=»lirc_dev lirc_mceusb2″

создаем            REMOTE_MODULES=»lirc_dev»

REMOTE_DRIVER=»»

REMOTE_DEVICE=»/dev/lirc0″

коментируем #REMOTE_LIRCD_CONF=»mceusb/lircd.conf.mceusb»

REMOTE_LIRCD_ARGS=»»

рестарт lirc