Skip to content

Commit

Permalink
v.0.5.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunatixz committed Jan 18, 2025
1 parent 800ce2a commit c9ca1bf
Show file tree
Hide file tree
Showing 69 changed files with 1,956 additions and 1,332 deletions.
2 changes: 1 addition & 1 deletion addons.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addons>
<addon id="plugin.video.pseudotv.live" version="0.5.7r" name="PseudoTV Live" provider-name="Lunatixz">
<addon id="plugin.video.pseudotv.live" version="0.5.8" name="PseudoTV Live" provider-name="Lunatixz">
<requires>
<import addon="xbmc.python" version="3.0.1"/>
<import addon="pvr.iptvsimple" version="21.8.0"/>
Expand Down
2 changes: 1 addition & 1 deletion addons.xml.md5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
34913725658a85d3dc086c0718881793
eceff7a06df43e187ac6eb63d7e6ff54
18 changes: 8 additions & 10 deletions language_report.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ Language IDS w\duplicate strings: {
"30021",
"30079"
],
"Parsing": [
"30014",
"32021"
],
"Browse": [
"30087",
"32068"
Expand Down Expand Up @@ -80,10 +76,10 @@ Language IDS not found in py files, possibly only in xml: {
"30032": "Resources",
"30036": "Minimum Guide Days",
"30037": "Maximum Guide Days",
"30038": "AutoTune",
"30039": "Clear Recommended Blacklist",
"30040": "Clear All Autotuned Channels",
"30041": "Global",
"30042": "Enable Overlay",
"30048": "Overlay",
"30056": "Include Fillers",
"30057": "Playback",
Expand All @@ -109,7 +105,7 @@ Language IDS not found in py files, possibly only in xml: {
"30081": "6 Hours",
"30082": "12 Hours",
"30083": "24 Hours",
"30084": "Disable Cache while Debugging",
"30084": "Disable Cache",
"30087": "Browse",
"30088": "Documents",
"30089": "Show Readme",
Expand Down Expand Up @@ -160,6 +156,7 @@ Language IDS not found in py files, possibly only in xml: {
"30169": "OSD Display Time",
"30172": "Channel List",
"30189": "Last Position",
"30198": "Enable Threaded Queue Executor",
"32004": "TV Networks",
"32005": "TV Shows",
"32006": "TV Genres",
Expand All @@ -172,11 +169,10 @@ Language IDS not found in py files, possibly only in xml: {
"32033": "Offline",
"32048": "Select Servers",
"32049": "Restarting...",
"32052": "Copying Failed!",
"32053": "Settings",
"32054": "Initializing...",
"32057": "%s is busy, try again later...",
"32058": "Cancelling Autotune\\nExisting Channels Detected...",
"32063": "OK",
"32074": "Adding Channel",
"32075": "Saving...",
"32082": "Clear this Channels Configurations",
Expand All @@ -186,7 +182,6 @@ Language IDS not found in py files, possibly only in xml: {
"32128": "Rebuilding Autotuned Channels",
"32130": "[COLOR=red][B]Warning!! [/B][/COLOR]File caching disabled\\nIt's recommended you re-enable when finished debugging",
"32133": "[COLOR=yellow][B]Notice!! [/B][/COLOR] Something went wrong, Please double check your PVR configurations and reboot Kodi.",
"32141": "Shutting Down...",
"32143": "Debugging Disabled!",
"32146": "Resumed",
"32147": "Media File Missing!",
Expand All @@ -205,14 +200,17 @@ Language IDS not found in py files, possibly only in xml: {
"32165": "No Changes Applied!",
"32166": "Playback Unavailable! Guide data is outdated.\\n%s will refresh in under %s minutes.",
"32170": "- Delete Path",
"32171": "%s in-use, Try Again...",
"32177": "Finish Configuring channel first",
"32182": "ZeroConf Status:",
"32208": "Parsing Trailer",
"32210": "Parsing Details",
"32214": "Sort Method",
"32218": "Not Needed...",
"32220": "%s Disabled",
"32221": "Add",
"32222": "Save",
"32237": "Waiting for Background Service to idle...",
"33001": "Only enable for short DEBUGGING sessions. The Kodi log will be spammed; You may experience poor system performance while enabled.",
"33002": "AutoTune Video/Mixed/Music SmartPlaylists.",
"33003": "AutoTune from Recommended (Supported) plugins installed on Kodi.\\nSupport does not imply a relation between projects, PseudoTV is not responsible for the content provided by third-party plugins.",
Expand Down Expand Up @@ -245,7 +243,7 @@ Language IDS not found in py files, possibly only in xml: {
"33071": "Open IPTV Simple's settings",
"33074": "Automatically configure IPTV-Simple for use with PseudoTV Live [Minimal risk of overriding existing user configurations].",
"33078": "Stop Playback when Idle for x Hours.\\nCancelable with prompt and countdown.",
"33084": "Not recommend!! Only disable if you understand the impact of theses changes.",
"33084": "Not recommend!! Only use if you understand the impact of theses changes.",
"33085": "",
"33089": "QRCode - Visit PseudoTV Live Wiki",
"33092": "Multi-room help",
Expand Down
2 changes: 1 addition & 1 deletion plugin.video.pseudotv.live/addon.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon id="plugin.video.pseudotv.live" version="0.5.7r" name="PseudoTV Live" provider-name="Lunatixz">
<addon id="plugin.video.pseudotv.live" version="0.5.8" name="PseudoTV Live" provider-name="Lunatixz">
<requires>
<import addon="xbmc.python" version="3.0.1"/>
<import addon="pvr.iptvsimple" version="21.8.0"/>
Expand Down
21 changes: 15 additions & 6 deletions plugin.video.pseudotv.live/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
v.0.5.8
-Improved Channel Manager UI and refactored code.
-Fixed Issue with some Adv. Channel rules not applying correctly.
-Removed Global "Sort Method"! Sort Method are now only applied per channel via. Adv. Channel rules.
-Changed How sort methods are applied to Dynamic Smart Playlists. Adv. Channel rules supersede Dynamic rules.
-Added Channel Manager "Preview" button to channel settings [Experimental].
- Preview channel's in-order as they would appear in the EPG.
- Paths and rules apply as they would during channel building.
- Useful for testing paths and rules, build time information included.
-Notice Some Utility Items are now hidden only available when "Enabling Debugging" is enabled.
-Notice Channel Manager; some path options are excluded based on "radio" ie. Music Channel.
-Fixed Rollback playcount.
-Fixed Overlay tool, issue saving "On Next" Position.
-Smartplaylist limits now override global pagination size, "No Limit" defaults back to pagination size.
-Added channel guidedata reset to the channel manager. Channel changes will now trigger complete rebuild of guidedata to reflect new changes.
-UI Improvements.
-Notice Smartplaylist limits now override global pagination size, "No Limit" defaults back to pagination size.
-Added Channel guidedata reset to the channel manager. Channel changes will now trigger complete rebuild of guidedata to reflect new changes.
-Added New "On Next" controls to overlay position utility.
-Various tweaks to playback & on next logic.
-Various tweaks to improve stability.
-Fixed Restart Percentage setting to allow 0% ie. Disable Restart Prompt.
-Notice Various tweaks to playback, error handling & channel bug and on-next logic.
-Various tweaks to improve stability and reduce memory burden from background service.
-Fixed "Restart Percentage" setting to allow 0% ie. Disable Restart Prompt.

v.0.5.7
-Improved Stability by removing Kodi's segfault prone busy dialog, in-favor of a custom busy dialog.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ msgid "Three Inserts"
msgstr ""

msgctxt "#30026"
msgid "One Inserts"
msgid "One Insert"
msgstr ""

msgctxt "#30027"
Expand Down Expand Up @@ -274,7 +274,7 @@ msgid "Enable Automatic Guide Grouping"
msgstr ""

msgctxt "#30064"
msgid "Added Group"
msgid "Add Custom Group"
msgstr ""

msgctxt "#30065"
Expand Down Expand Up @@ -354,7 +354,7 @@ msgid "24 Hours"
msgstr ""

msgctxt "#30084"
msgid "Disable Cache while Debugging"
msgid "Disable Cache"
msgstr ""

msgctxt "#30085"
Expand Down Expand Up @@ -813,6 +813,10 @@ msgctxt "#30197"
msgid "OSD"
msgstr ""

msgctxt "#30198"
msgid "Enable Threaded Queue Executor"
msgstr ""


# Skin - strings 31000 thru 31999 reserved for skins

Expand Down Expand Up @@ -904,7 +908,7 @@ msgid "Unavailable"
msgstr ""

msgctxt "#32021"
msgid "Parsing"
msgid "AutoTuning..."
msgstr ""

msgctxt "#32022"
Expand Down Expand Up @@ -1028,7 +1032,7 @@ msgid "Copying"
msgstr ""

msgctxt "#32052"
msgid "Copying Failed!"
msgid "Failed!"
msgstr ""

msgctxt "#32053"
Expand Down Expand Up @@ -1076,7 +1080,7 @@ msgid "OK"
msgstr ""

msgctxt "#32064"
msgid "Autotuned Channels are currently non-configurable."
msgid "Autotuned Channels are currently\nnon-configurable."
msgstr ""

msgctxt "#32065"
Expand Down Expand Up @@ -1104,7 +1108,7 @@ msgid "No Logo Found!"
msgstr ""

msgctxt "#32071"
msgid "Please finish configurations before creating channel rules."
msgid "Add Content Paths before adding channel rules."
msgstr ""

msgctxt "#32072"
Expand Down Expand Up @@ -1140,7 +1144,7 @@ msgid "Enter Channel Name"
msgstr ""

msgctxt "#32080"
msgid "Select Content Path"
msgid "Select Media Path"
msgstr ""

msgctxt "#32081"
Expand Down Expand Up @@ -1192,11 +1196,11 @@ msgid "Channel Name"
msgstr ""

msgctxt "#32093"
msgid "Content Path"
msgid "Content Paths"
msgstr ""

msgctxt "#32094"
msgid "Content Group"
msgid "Content Groups"
msgstr ""

msgctxt "#32095"
Expand Down Expand Up @@ -1384,7 +1388,7 @@ msgid "This may take a moment..."
msgstr ""

msgctxt "#32141"
msgid "Shutting Down..."
msgid "Shutting down background service..."
msgstr ""

msgctxt "#32142"
Expand Down Expand Up @@ -1496,7 +1500,7 @@ msgid "Update Available!"
msgstr ""

msgctxt "#32169"
msgid "Edit Channel (%s)"
msgid "Edit Channel %s (%s)"
msgstr ""

msgctxt "#32170"
Expand Down Expand Up @@ -1676,7 +1680,7 @@ msgid "Enable Multi-Room Instances?"
msgstr ""

msgctxt "#32216"
msgid "Welcome to %s, If you're new please visit our project wiki for help & guides. Thank you for your support, enjoy!"
msgid "[B]Welcome to %s![/B][CR][CR]If you're new please visit our wiki for helpful tips & guides.[CR][CR]Thank you for your support, enjoy![CR][B][I] %s[/I][/B]"
msgstr ""

msgctxt "#32217"
Expand Down Expand Up @@ -1747,6 +1751,33 @@ msgctxt "#32233"
msgid "Minimum Duration"
msgstr ""

msgctxt "#32234"
msgid "Changes Detected, Do you want to save?"
msgstr ""

msgctxt "#32235"
msgid "Preview"
msgstr ""

msgctxt "#32236"
msgid "Building Preview"
msgstr ""

msgctxt "#32237"
msgid "Waiting for Background Service to idle..."
msgstr ""

msgctxt "#32238"
msgid "Autotuned Channels must be\n disabled in settings."
msgstr ""

msgctxt "#32239"
msgid "Clear"
msgstr ""

msgctxt "#32240"
msgid "Confirm"
msgstr ""


# Help - strings 33000 thru 33999 reserved for common strings used in add-ons
Expand Down Expand Up @@ -1924,7 +1955,7 @@ msgid "Stop Playback when Idle for x Hours.\nCancelable with prompt and countdow
msgstr ""

msgctxt "#33084"
msgid "Not recommend!! Only disable if you understand the impact of theses changes."
msgid "Not recommend!! Only use if you understand the impact of theses changes."
msgstr ""

msgctxt "#33085"
Expand Down
11 changes: 7 additions & 4 deletions plugin.video.pseudotv.live/resources/lib/autotune.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _runTune(self, samples: bool=False, rebuild: bool=False, dia=None):
msg = (LANGUAGE(32042)%ADDON_NAME)

retval = DIALOG.yesnoDialog(message=msg,customlabel=opt)
if retval == 1: dia = DIALOG.progressBGDialog(header='%s, %s'%(ADDON_NAME,'%s %s'%(LANGUAGE(32021),LANGUAGE(30038)))) #Yes
if retval == 1: dia = DIALOG.progressBGDialog(header='%s, %s'%(ADDON_NAME,LANGUAGE(32021))) #Yes
elif retval == 2: #Custom
if hasBackup: return BUILTIN.executebuiltin('RunScript(special://home/addons/%s/resources/lib/backup.py, Recover_Channels)'%(ADDON_ID))
elif hasServers: return BUILTIN.executebuiltin('RunScript(special://home/addons/%s/resources/lib/multiroom.py, Select_Server)'%(ADDON_ID))
Expand All @@ -93,14 +93,15 @@ def _runTune(self, samples: bool=False, rebuild: bool=False, dia=None):
else: return True

for idx, ATtype in enumerate(AUTOTUNE_TYPES):
if dia: dia = DIALOG.progressBGDialog(int((idx+1)*100//len(AUTOTUNE_TYPES)),dia,ATtype,'%s, %s'%(ADDON_NAME,'%s %s'%(LANGUAGE(32021),LANGUAGE(30038))))
if dia: dia = DIALOG.progressBGDialog(int((idx+1)*100//len(AUTOTUNE_TYPES)),dia,ATtype,'%s, %s'%(ADDON_NAME,LANGUAGE(32021)))
self.selectAUTOTUNE(ATtype, autoSelect=samples, rebuildChannels=rebuild)
return True


def selectAUTOTUNE(self, ATtype: str, autoSelect: bool=False, rebuildChannels: bool=False):
self.log('selectAUTOTUNE, ATtype = %s, autoSelect = %s, rebuildChannels = %s'%(ATtype,autoSelect,rebuildChannels))
def __buildMenuItem(item): return LISTITEMS.buildMenuListItem(item['name'],item['type'],item['logo'])
def __buildMenuItem(item):
return LISTITEMS.buildMenuListItem(item['name'],item['type'],item['logo'])

def _match(enabledItems):
for item in enabledItems:
Expand All @@ -121,7 +122,9 @@ def _set(ATtype, selects=[]):
if SETTINGS.getSettingBool('Debug_Enable'): DIALOG.notificationDialog(LANGUAGE(32018)%(ATtype))
return

lizlst = poolit(__buildMenuItem)(items)
with BUILTIN.busy_dialog(rebuildChannels):
lizlst = poolit(__buildMenuItem)(items)

if rebuildChannels:#rebuild channels.json entries
selects = list(_match(self.library.getEnabled(ATtype)))
elif autoSelect:#build sample channels
Expand Down
Loading

0 comments on commit c9ca1bf

Please sign in to comment.