瀏覽代碼

Only a single item (Kodi's not very smart)

master
The Dod 4 年之前
父節點
當前提交
a61f127e08
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      fortunefeed.py

+ 1
- 1
fortunefeed.py 查看文件

@@ -7,7 +7,7 @@ import xml.etree.ElementTree
7 7
 FEED_LINK = 'https://linux.die.net/man/6/fortune'
8 8
 FEED_TITLE = 'Fortune'
9 9
 FEED_DESCRIPTION = 'Random, hopefully interesting, adages'
10
-NUM_ITEMS = 3
10
+NUM_ITEMS = 1 # Kodi would choke on more :(
11 11
 MAX_LENGTH = 69
12 12
 
13 13
 rss_items = []

Loading…
取消
儲存