Default to Piped instead of Invidious
This commit is contained in:
parent
669aa2cd8b
commit
2422a2b8b7
3 changed files with 7 additions and 7 deletions
|
@ -32,7 +32,7 @@ tokenCount = 10
|
|||
[Preferences]
|
||||
theme = "Nitter"
|
||||
replaceTwitter = "nitter.net"
|
||||
replaceYouTube = "invidio.us"
|
||||
replaceYouTube = "piped.kavin.rocks"
|
||||
replaceInstagram = ""
|
||||
proxyVideos = true
|
||||
hlsPlayback = false
|
||||
|
|
|
@ -54,9 +54,9 @@ genPrefs:
|
|||
"Replace Twitter links with Nitter (blank to disable)"
|
||||
placeholder: "Nitter hostname"
|
||||
|
||||
replaceYouTube(input, "invidious.snopyta.org"):
|
||||
"Replace YouTube links with Invidious (blank to disable)"
|
||||
placeholder: "Invidious hostname"
|
||||
replaceYouTube(input, "piped.kavin.rocks"):
|
||||
"Replace YouTube links with Piped/Invidious (blank to disable)"
|
||||
placeholder: "Piped hostname"
|
||||
|
||||
replaceInstagram(input, ""):
|
||||
"Replace Instagram links with Bibliogram (blank to disable)"
|
||||
|
|
|
@ -69,7 +69,7 @@ Twitter feed for: ${desc}. Generated by ${cfg.hostname}
|
|||
#end proc
|
||||
#
|
||||
#proc renderTimelineRss*(timeline: Timeline; profile: Profile; cfg: Config; multi=false): string =
|
||||
#let prefs = Prefs(replaceTwitter: cfg.hostname, replaceYouTube: "invidious.snopyta.org")
|
||||
#let prefs = Prefs(replaceTwitter: cfg.hostname, replaceYouTube: "piped.kavin.rocks")
|
||||
#let urlPrefix = getUrlPrefix(cfg)
|
||||
#result = ""
|
||||
#let user = (if multi: "" else: "@") & profile.username
|
||||
|
@ -101,7 +101,7 @@ ${renderRssTweets(timeline.content, prefs, cfg)}
|
|||
#end proc
|
||||
#
|
||||
#proc renderListRss*(tweets: seq[Tweet]; list: List; cfg: Config): string =
|
||||
#let prefs = Prefs(replaceTwitter: cfg.hostname, replaceYouTube: "invidious.snopyta.org")
|
||||
#let prefs = Prefs(replaceTwitter: cfg.hostname, replaceYouTube: "piped.kavin.rocks")
|
||||
#let link = &"{getUrlPrefix(cfg)}/{list.username}/lists/{list.name}"
|
||||
#result = ""
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
@ -119,7 +119,7 @@ ${renderRssTweets(tweets, prefs, cfg)}
|
|||
#end proc
|
||||
#
|
||||
#proc renderSearchRss*(tweets: seq[Tweet]; name, param: string; cfg: Config): string =
|
||||
#let prefs = Prefs(replaceTwitter: cfg.hostname, replaceYouTube: "invidious.snopyta.org")
|
||||
#let prefs = Prefs(replaceTwitter: cfg.hostname, replaceYouTube: "piped.kavin.rocks")
|
||||
#let link = &"{getUrlPrefix(cfg)}/search"
|
||||
#let escName = xmltree.escape(name)
|
||||
#result = ""
|
||||
|
|
Loading…
Reference in a new issue