Skip to content

Commit

Permalink
Changes see changelog.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
rols1 committed Oct 15, 2020
1 parent 60428d7 commit 7d465e6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
7 changes: 3 additions & 4 deletions changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ CHANGE HISTORY Kodi-Addon-FlickrExplorer

15.10.2020 0.7.2 BuildPath: added api-method for getting photos from photosets
(albums)
MyAlbumsSingle: photoset_id added for BuildPath, calculate number
of photos new (wrong flickr-output) and round up for calculate
pages depending on settings.
MyAlbumsSingle: photoset_id added for BuildPath.
MyAlbums: Fix building more-Buttons (page -> page_next).
BuildPages: maxPageContent (flickr: per_page) in build-loop added.
new function del_slides in modul util_flickr: cache-deletion with
dialog.
dialog.
Settings DICT_store_days: term delete added.
Language file de.json: Fix '.' -> ','
Language files: terms für cache-deletion added.
L: py2_encode for comparison term1/string.
Expand Down
15 changes: 2 additions & 13 deletions flickrexplorer.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,13 +558,6 @@ def MyAlbums(title, user_id, pagenr):
thumb_src = stringextract('url_z="', '"', rec) # z=640

summ = "%s %s (%s)" % (count_photos, L('Fotos'), title_org) # Anzahl stimmt nicht
# anz = count_photos
# if int(count_photos) <= 10:
# anz = '<= 10'
# if int(count_photos) >= 10:
# anz = '> 10'

# summ = "%s: %s (%s)" % (L('Fotos'), anz, title_org)
if description:
summ = '%s | %s' % (summ, description)
img_src = R(ICON_FLICKR)
Expand Down Expand Up @@ -643,12 +636,8 @@ def MyAlbumsSingle(title, photoset_id, user_id, pagenr=1):

PLog('2Satz:')
PLog('records: %s, maxPageContent: %s, mypagemax: %s' % (str(len(records)), maxPageContent, str(mypagemax)))
mypagemax = int(round(mypagemax + 0.49)) # zwangsw. aufrunden
PLog('mypagemax: %s' % str(mypagemax))

# todo: fotozahl doch korrekt - BuildPages mit flicker-Werten aufrufen od.
# hier neue mehr-buttons -> SeperateVideos
# cache löschen via setting
# mypagemax = int(round(mypagemax + 0.49)) # zwangsw. aufrunden - entfällt
# PLog('mypagemax: %s' % str(mypagemax))

searchname = '#MyAlbumsSingle#'
li = BuildPages(title=title, searchname=searchname, SEARCHPATH=path, pagemax=pagemax, perpage=perpage,
Expand Down

0 comments on commit 7d465e6

Please sign in to comment.