XBMC Community Forum
New MythTV add-on using libcmyth - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: PVR Development (/forumdisplay.php?fid=136)
+--- Thread: New MythTV add-on using libcmyth (/showthread.php?tid=110694)



RE: New MythTV add-on using libcmyth - bilbonvidia - 2012-04-25 01:14

Same on Ubuntu as XBMCbuntu for live tv. Windows fine.


RE: New MythTV add-on using libcmyth - 321liftoff - 2012-04-25 01:47

Tried resetting the PVR database, but same behavior. Logs below:

xbmc.log
http://pastebin.com/Dzc1Egm1

mythtv.log
http://pastebin.com/rijvEz7L


RE: New MythTV add-on using libcmyth - darkwizard - 2012-04-25 03:56

were cmyth addon at?


RE: New MythTV add-on using libcmyth - chrisgibbs - 2012-04-25 04:21

(2012-04-24 20:37)tsp42 Wrote:  Looks like the storage group is not setup properly on the backend. Shouldn't affect the LiveTV though. Could you pastebin a log with the "Include more debug information in the Log" enabled?

Sorry had a read through the Advancedsettings.log file and the Loglevel is set to 2. That was the log file i sent through previously. Not sure where the "Include more debug information in the Log" is located.

(EDIT)
Ended up finding it under addons MythTV cmyth PVR client settings. This was already ticked for the log file that I uploaded.
(/EDIT)


RE: New MythTV add-on using libcmyth - Claire193 - 2012-04-25 04:59

sounds good. have a chat with dteirney, cause he is/was maintaining the other mythtv add-on
[Image: meimiao1.jpg][Image: jh88.jpg][Image: test.jpg][Image: dh.jpg][Image: pad.jpg]


RE: New MythTV add-on using libcmyth - darkwizard - 2012-04-25 05:15

i installed liboost like ya said but still get those errors


Making all in docsrc
make[2]: Entering directory `/root/src/xbmc/lib/cpluff/libcpluff/docsrc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/src/xbmc/lib/cpluff/libcpluff/docsrc'
make[2]: Entering directory `/root/src/xbmc/lib/cpluff/libcpluff'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/root/src/xbmc/lib/cpluff/libcpluff'
make[1]: Leaving directory `/root/src/xbmc/lib/cpluff/libcpluff'
make -C xbmc/pvrclients/MediaPortal
make[1]: Entering directory `/root/src/xbmc/xbmc/pvrclients/MediaPortal'
Makefile:27: warning: overriding commands for target `clean'
/root/src/xbmc/Makefile.include:134: warning: ignoring old commands for target `clean'
Makefile:32: warning: overriding commands for target `/root/src/xbmc/addons/pvr.team-mediaportal.tvserver/XBMC_MPTV.pvr'
/root/src/xbmc/Makefile.include:128: warning: ignoring old commands for target `/root/src/xbmc/addons/pvr.team-mediaportal.tvserver/XBMC_MPTV.pvr'
make[1]: `/root/src/xbmc/addons/pvr.team-mediaportal.tvserver/XBMC_MPTV.pvr' is up to date.
make[1]: Leaving directory `/root/src/xbmc/xbmc/pvrclients/MediaPortal'
make -C xbmc/pvrclients/mythtv
make[1]: Entering directory `/root/src/xbmc/xbmc/pvrclients/mythtv'
Makefile:18: warning: overriding commands for target `clean'
/root/src/xbmc/Makefile.include:134: warning: ignoring old commands for target `clean'
Makefile:24: warning: overriding commands for target `/root/src/xbmc/addons/pvr.mythtv/XBMC_Mythtv.pvr'
/root/src/xbmc/Makefile.include:128: warning: ignoring old commands for target `/root/src/xbmc/addons/pvr.mythtv/XBMC_Mythtv.pvr'
make[1]: `/root/src/xbmc/addons/pvr.mythtv/XBMC_Mythtv.pvr' is up to date.
make[1]: Leaving directory `/root/src/xbmc/xbmc/pvrclients/mythtv'
make -C xbmc/pvrclients/mythtv-cmyth
make[1]: Entering directory `/root/src/xbmc/xbmc/pvrclients/mythtv-cmyth'
Makefile:31: warning: overriding commands for target `clean'
/root/src/xbmc/Makefile.include:134: warning: ignoring old commands for target `clean'
Makefile:34: warning: overriding commands for target `/root/src/xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr'
/root/src/xbmc/Makefile.include:128: warning: ignoring old commands for target `/root/src/xbmc/addons/pvr.mythtv.cmyth/XBMC_MythTV_cmyth.pvr'
CPP xbmc/pvrclients/mythtv-cmyth/fileOps.o
fileOps.h: In constructor âfileOps2::fileOps2(MythConnection&)â:
fileOps.h:53: warning: âfileOps2::m_conâ will be initialized after
fileOps.h:52: warning: âboost::filesystem::path fileOps2::m_localBasePathâ
fileOps.cpp:16: warning: when initialized here
fileOps.h:54: warning: âfileOps2::m_sg_stringsâ will be initialized after
fileOps.cpp:17: warning: base âPLATFORM::CThreadâ
fileOps.cpp:16: warning: when initialized here
fileOps.cpp:21: error: âstruct boost::filesystem::pathâ has no member named âc_strâ
fileOps.cpp: In member function âCStdString fileOps2::getChannelIconPath(CStdString)â:
fileOps.cpp:42: error: âstruct std::basic_string<char, std::char_traits<char>, std::allocator<char> >â has no member named âstringâ
fileOps.cpp: In member function âCStdString fileOps2::getPreviewIconPath(CStdString)â:
fileOps.cpp:63: error: âstruct std::basic_string<char, std::char_traits<char>, std::allocator<char> >â has no member named âstringâ
fileOps.cpp: In member function âCStdString fileOps2::getArtworkPath(CStdString, FILE_OPTIONS)â:
fileOps.cpp:95: error: âstruct std::basic_string<char, std::char_traits<char>, std::allocator<char> >â has no member named âstringâ
fileOps.cpp: In member function âvoid fileOps2::cleanCache()â:
fileOps.cpp:142: error: âstruct std::basic_string<char, std::char_traits<char>, std::allocator<char> >â has no member named âstringâ
fileOps.cpp:151: warning: comparison between signed and unsigned integer expressions
fileOps.cpp:150: warning: unused variable âmlmâ
fileOps.cpp: In member function âbool fileOps2::writeFile(boost::filesystem::path, MythFile&)â:
fileOps.cpp:240: error: âstruct boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits>â has no member named âc_strâ
fileOps.cpp:246: error: âstruct boost::filesystem::basic_path<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::filesystem::path_traits>â has no member named âc_strâ
fileOps.cpp:294: error: âstruct boost::filesystem::pathâ has no member named âc_strâ
make[1]: *** [fileOps.o] Error 1
make[1]: Leaving directory `/root/src/xbmc/xbmc/pvrclients/mythtv-cmyth'
make: *** [pvrclients] Error 2


RE: New MythTV add-on using libcmyth - Jimmer - 2012-04-25 11:02

@darkwizard

You probably need the 1.46 dev libraries for libboost. If it helps I have the following libboost libs on my system (I don't think you need them all for xbmc though.....). If you apt-get them you'll probably be able to carry on compiling. It's most likely the regex/filesystem libraries you're missing.

Code:
libboost1.46-dev
libboost1.46-all-dev
libboost-program-options1.46.1
libboost-program-options1.46-dev
libboost-iostreams1.46.1
libboost-serialization1.46.1
libboost-graph1.46-dev
libboost-python1.46.1
libboost-python1.46-dev
libboost-serialization1.46-dev
libboost-test1.46-dev
libboost-regex1.46.1
libboost-regex1.46-dev
libboost-date-time1.46.1
libboost-date-time1.46-dev
libboost-filesystem1.46.1
libboost-filesystem1.46-dev
libboost-math1.46.1
libboost-math1.46-dev
libboost-random1.46-dev
libboost-signals1.46.1
libboost-signals1.46-dev
libboost-system1.46.1
libboost-system1.46-dev
libboost-thread1.46.1
libboost-thread1.46-dev
libboost-wave1.46.1
libboost-wave1.46-dev
libboost-mpi1.46.1
libboost-mpi1.46-dev
libboost-mpi-python1.46.1
libboost-mpi-python1.46-dev
libboost-graph-parallel1.46.1
libboost-graph-parallel1.46-dev
libboost-random1.46.1



RE: New MythTV add-on using libcmyth - bilbonvidia - 2012-04-25 14:35

Is it possible to revert to previous version somehow?


RE: New MythTV add-on using libcmyth - Jimmer - 2012-04-25 14:46

(2012-04-25 14:35)bilbonvidia Wrote:  Is it possible to revert to previous version somehow?

Depends on what platform you compiled it on and how you installed it? If you're on linux and used something like checkinstall then you'll have a rpm or deb (depending on your distro) that you can archive and go back to. If you are on OSX, then each successful compile is packaged into an .app, so you can archive these (just keeping the latest couple that have worked well for you). On windows I don't know, sorry.... All this is probably useless advice after the fact though. It is possible to revert a cloned git repo to an earlier commit though.... not sure what the commands are. You can then rebuild and use the advice above to make a catelogue of debs/rpms/apps/exes/whatever that will allow you to easily step back next time you have this problem....

A note on going back.... if there has been a database schema update, then restoring a previous version will use the appropriate database for that version. Changes to your library since the database upgrade will not be reflected when you downgrade. If like me, you clear out older mysql databases routinely, then you'll have to rebuild your library from scratch....


RE: New MythTV add-on using libcmyth - bilbonvidia - 2012-04-25 18:37

Thank you, hopefully there'll be another update which will fix soon.

I know what you mean about the mysql db's,, they have casued a slight headache for me a few times as well, until all running the same version again.