Skip to content

Commit

Permalink
Merge pull request #173 from Keeper-of-the-Keys/remove-soundcloud-ui
Browse files Browse the repository at this point in the history
Remove soundcloud UI
  • Loading branch information
Keeper-of-the-Keys authored Apr 13, 2023
2 parents 96bf899 + 1214740 commit 6c373d0
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[submodule "gpodder-core"]
path = gpodder-core
url = git://github.com/gpodder/gpodder-core.git
url = https://github.com/gpodder/gpodder-core.git
[submodule "podcastparser"]
path = podcastparser
url = git://github.com/gpodder/podcastparser.git
url = https://github.com/gpodder/podcastparser.git
[submodule "minidb"]
path = minidb
url = git://github.com/thp/minidb.git
url = https://github.com/thp/minidb.git
3 changes: 2 additions & 1 deletion common/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,8 @@ def convert_episode(self, episode):
'total_time': episode.total_time,
'episode_art': self._get_episode_art(episode),
'cover_art': self._get_cover(episode.podcast),
'podcast_title': episode.podcast.title
'podcast_title': episode.podcast.title,
'source': episode.local_filename(False) if episode.state == gpodder.STATE_DOWNLOADED else episode.url,
}

def _format_published_section(self, now, tnow, published):
Expand Down
2 changes: 1 addition & 1 deletion gpodder-core
1 change: 1 addition & 0 deletions qml/EpisodeItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ ListItem {

truncationMode: TruncationMode.Fade
text: title
font.strikeout: (source.indexOf("://api.soundcloud.com/") > 0 ? true : false)

// need to set opacity via color, as truncationMode overrides opacity
color: {
Expand Down
2 changes: 1 addition & 1 deletion qml/PodcastItem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ ListItem {
}

truncationMode: TruncationMode.Fade
text: title
text: (url.indexOf("://soundcloud.com/") > 0? '' : '') + title
color: (newEpisodes || podcastItem.highlighted) ? Theme.highlightColor : Theme.primaryColor
}

Expand Down
2 changes: 1 addition & 1 deletion rpm/harbour-org.gpodder.sailfish.spec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Summary: Media and podcast aggregator
Name: harbour-org.gpodder.sailfish
Version: 4.12.91
Version: 4.13.0
Release: 1
Group: System/GUI/Other
License: ISC / GPLv3
Expand Down

0 comments on commit 6c373d0

Please sign in to comment.