NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC X-NEWA v
« Previous 1 … 7 8 9 10 11 … 13 Next »
x-newa 2.4.2

 
  • 0 Vote(s) - 0 Average
x-newa 2.4.2
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,205
Threads: 958
Joined: May 2006
#1
2014-09-01, 01:54 PM
I placed an update on whurlston's xbmc repo with some features and fixes from pkscout and I

Quote:- dates/times shown based on XBMC region settings
- updated Confluence and Default skins to accommodate longer regional dates/times
- granularized labels to allow more flexibility for skins
- updated Confluence and Default skins to use new skin labels
- fix for xnewa.getRecordingsSummary returning the recording date offset by one day
- made icon and channel caching consistent
- now use addon_data dir instead of addon dir for override fanart
- moved date/time format functions into XNEWA_Connect
- moved fanart functions into XNEWA_Connect
- configure cache permanent or with plugin (default)
- default sort order for recordings and recurring recordings
- added dateutil.parser for improved date handling
- tag in All Recording for Archive, Delete, Watch, Unwatch
- Confluence skin support for tagging
- store recording groups, choose in setting
- several bug fixes, some I remember
- EPG was always downloaded,
- problem with perm. cache.
- EPG scrolling
- initial support for upcoming NEWA
- use padding values from server

Martin
pkscout
Offline

Senior Member

USA
Posts: 464
Threads: 50
Joined: May 2014
#2
2014-09-01, 05:18 PM
On my OSX machine I get a python exception when running the updated addon:
Code:
07:00:48 T:2703581608   DEBUG: CGUIMediaWindow::GetDirectory ()
07:00:48 T:2703581608   DEBUG:   ParentPath = []
07:00:48 T:2703581608   ERROR: Control 248 in window 13000 has been asked to focus, but it can't
07:00:48 T:2953924608  NOTICE: AreYouThere() returns: True
07:00:48 T:2953924608  NOTICE: XML info
07:00:48 T:2953924608  NOTICE: 2014-09-01 07:00:48.488119
07:00:48 T:2953924608  NOTICE: http://172.16.1.3:8866/public/services/InfoXML.aspx
07:00:48 T:2953924608  NOTICE: [{'Name': 'Recording', 'NEWAUsedPercent': '0.00', 'Free': '1.1 TB', 'NEWAUsed': '6.0 KB', 'SystemUsedPercent': '38.62', 'SystemUsed': '719.5 GB', 'Path': 'E:\\NextPVR\\Recordings', 'Total': '1.8 TB', 'PercentFree': '61.38'}, {'Name': 'Movies', 'NEWAUsedPercent': '4.98', 'Free': '1.1 TB', 'NEWAUsed': '92.7 GB', 'SystemUsedPercent': '33.64', 'SystemUsed': '626.8 GB', 'Path': 'E:\\NextPVR\\Movies', 'Total': '1.8 TB', 'PercentFree': '61.38'}, {'Name': 'TVShows', 'NEWAUsedPercent': '22.22', 'Free': '1.1 TB', 'NEWAUsed': '413.9 GB', 'SystemUsedPercent': '16.40', 'SystemUsed': '305.6 GB', 'Path': 'E:\\NextPVR\\TVShows', 'Total': '1.8 TB', 'PercentFree': '61.38'}]
07:00:48 T:2953924608  NOTICE: 2014-09-01 07:00:48.534993
07:00:48 T:2953924608  NOTICE: getChannelList cached end
07:00:48 T:2953924608  NOTICE: getChannelGroupList JSON start
07:00:48 T:2703581608   DEBUG: ------ Window Deinit (DialogExtendedProgressBar.xml) ------
07:00:48 T:2953924608  NOTICE: getChannelGroupList JSON end
07:00:48 T:2953924608  NOTICE: EXCEPTION: : Traceback (most recent call last):
                                              File "/Users/pkscout/Library/Application Support/XBMC/addons/script.xbmc.x-newa/resources/src/nextpvr/home.py", line 228, in refreshOnInit
                                                self.statusData = self.xnewa.GetNextPVRInfo(self.settings.NextPVR_USER, self.settings.NextPVR_PW)
                                              File "/Users/pkscout/Library/Application Support/XBMC/addons/script.xbmc.x-newa/resources/src/XNEWA_Connect.py", line 542, in GetNextPVRInfo
                                                self.setChannelGroups()
                                              File "/Users/pkscout/Library/Application Support/XBMC/addons/script.xbmc.x-newa/resources/src/XNEWA_Connect.py", line 1100, in setChannelGroups
                                                for setting in root.findall("category/setting[@id='group']"):
                                            SyntaxError: expected path separator ([)

Same code works fine on my Windows machine. I think this is because the version of Python XBMC uses on OSX is different than the one used in Windows. I did a quick Google search and found a stackoverflow post indicating that something in the ElementTree syntax is different for newer versions of Python.

No big thing for me. The OSX machine is my development box. Apologies that I didn't have a chance to test the beta and find this earlier.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,205
Threads: 958
Joined: May 2006
#3
2014-09-01, 08:15 PM
pkscout Wrote:On my OSX machine I get a python exception when running the updated addon:

Ok thanks I will have to try this on Android (eventually) since it uses 2.6 it probably fails there too. Ok it failed in Android but I think I have a workaround in 2.4.2

Code:
def setChannelGroups(self):
        import xml.etree.ElementTree as ET
        from XNEWAGlobals import *

        settings_file = os.path.join(WHERE_AM_I, 'resources' ,'settings.xml')
        tree = ET.parse(settings_file)
        root = tree.getroot()
        values = None
        try :
            for setting in root.findall("category/setting[@id='group']"):
                values = setting.attrib['values']
                break
        except:
            for setting in root.findall('.//setting'):
                if setting.attrib.has_key('id'):
                    if setting.attrib['id'] == 'group':
                        values =  setting.attrib['values']
                        break

        if values != None:
            groups = '|'.join(self.channelGroups)
            if values != groups:
                setting.set('values',groups)
                tree.write(settings_file)

Martin
pkscout
Offline

Senior Member

USA
Posts: 464
Threads: 50
Joined: May 2014
#4
2014-09-03, 01:55 AM
That did it. Mahalo.
WKleeven
Offline

Senior Member

Posts: 522
Threads: 40
Joined: Dec 2006
#5
2014-09-05, 04:41 PM
I updated x-newa to 2.4.2 for xbmc on both windows 7 laptop and on android tablet. On both I had "unable to load newa data"-error.
I attached the logs.
Server: Core2Duo 3,16GHz| Windows 7 Ultimate 64 bit | NPVR 3.2.9 | Analogue: Hauppauge PVR-150 | Digital dvb-c: Technisat CableStar HD 2 | No plugins
Clients: Laptop Windows 7 Home 64 bit via Wifi | Android tablet via Wifi | Androidbox s89-H via Lan
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,205
Threads: 958
Joined: May 2006
#6
2014-09-05, 04:56 PM
WKleeven Wrote:I updated x-newa to 2.4.2 for xbmc on both windows 7 laptop and on android tablet. On both I had "unable to load newa data"-error.
I attached the logs.

Thanks, there's a problem with some unicode in a channel name. Don't you use channel icons?

Martin
WKleeven
Offline

Senior Member

Posts: 522
Threads: 40
Joined: Dec 2006
#7
2014-09-05, 04:59 PM
mvallevand Wrote:Thanks, there's a problem with some unicode in a channel name. Don't you use channel icons?

Martin
Yes I do. Maybe this one is giving problems: "Eén.png" ?

Wim
Server: Core2Duo 3,16GHz| Windows 7 Ultimate 64 bit | NPVR 3.2.9 | Analogue: Hauppauge PVR-150 | Digital dvb-c: Technisat CableStar HD 2 | No plugins
Clients: Laptop Windows 7 Home 64 bit via Wifi | Android tablet via Wifi | Androidbox s89-H via Lan
WKleeven
Offline

Senior Member

Posts: 522
Threads: 40
Joined: Dec 2006
#8
2014-09-05, 06:32 PM
Well I changed the name of the icon file to "Een.png" but that didn't change anything, but changing the channel name to "Een" fixed the "unable to load newa data"-error. This is new to this version, this problem didn't happen in the previous version.

I'm not sure whether I should post this here or in the other thread (http://forums.nextpvr.com/showthread.php...rror/page4), but here we go:
Now, I've still got a problem I already mentioned in another thread and that is that pressing "ok" when on "play" or "resume" in webclient in xbmc, nothing happens. I have this problem since I changed ROM on my android box (also with the previous version of x-newa).

Logs attached.

Wim
Server: Core2Duo 3,16GHz| Windows 7 Ultimate 64 bit | NPVR 3.2.9 | Analogue: Hauppauge PVR-150 | Digital dvb-c: Technisat CableStar HD 2 | No plugins
Clients: Laptop Windows 7 Home 64 bit via Wifi | Android tablet via Wifi | Androidbox s89-H via Lan
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,205
Threads: 958
Joined: May 2006
#9
2014-09-05, 08:33 PM
I do see a message

02:19:22 T:1837873328 NOTICE: No module named fanart

It might be one of the changes that pkscout and I made. If you enable fanart (Copy Cover Art) does it help? It didn't make a difference here. When you install x-newa you are doing it fresh, and not using xbmcbackup right?

Martin
WKleeven
Offline

Senior Member

Posts: 522
Threads: 40
Joined: Dec 2006
#10
2014-09-05, 09:25 PM
First on windows laptop it does seem to make a difference, however I now see a different problem: when in recordings menu after entering "a gifted man" and seeing 1 recording, then pressing "escape" going back to the overview, then entering "buried" I see the 1 recording of "a gifted man" again.

Then in androidbox (for the first time ever) I used xbmcbackup. So I uninstalled x-newa and installed it again (with the copy cover art button pressed) and it works.
And I don't have the above problem (as on windows laptop).

Wim
Server: Core2Duo 3,16GHz| Windows 7 Ultimate 64 bit | NPVR 3.2.9 | Analogue: Hauppauge PVR-150 | Digital dvb-c: Technisat CableStar HD 2 | No plugins
Clients: Laptop Windows 7 Home 64 bit via Wifi | Android tablet via Wifi | Androidbox s89-H via Lan
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  X-NEWA client problem jcjefferies 2 1,250 2023-04-11, 05:01 PM
Last Post: jcjefferies
  x-newa new install wheemer 14 5,009 2020-09-15, 02:21 AM
Last Post: mvallevand
  New repository for KNEWC and X-NEWA mvallevand 8 9,111 2020-05-09, 02:19 AM
Last Post: jksmurf
  X-NEWA keeping host PC awake lost@c 6 2,916 2020-04-03, 04:26 AM
Last Post: lost@c
  X-NEWA End of Life mvallevand 39 16,453 2019-11-16, 02:30 AM
Last Post: jksmurf
  X-NEWA 2.5.4 & knew4v5 2.6.6 both "Die" when pressing Previous Chapter in LE BrettB 3 2,998 2019-06-15, 01:33 AM
Last Post: mvallevand
  X-NEWA 2.5.4 Release mvallevand 4 3,045 2019-03-11, 05:57 PM
Last Post: mvallevand
  X-NEWA Web Client Not Acting On Keypresses BrettB 4 3,193 2019-02-02, 02:05 AM
Last Post: mvallevand
  X-NEWA Web Client Crashing BrettB 2 2,416 2019-01-31, 08:50 PM
Last Post: mvallevand
  Unable to load NEWA data ChaosMageX 7 3,490 2018-12-29, 01:25 AM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode