Compiling anysee branch from GitHub (1 Viewer)

jehe

Portal Pro
February 15, 2011
694
216
57
Home Country
Belgium Belgium
hello,
Last week I compiled the master branch of mediaportal , what has succeeded.
Now I want to compile the Anysee branch which gives me many errors.
My question now, is it possible to use the Anysee branch.
 

jehe

Portal Pro
February 15, 2011
694
216
57
Home Country
Belgium Belgium
Hello,

You can find the experimental branches of mediaportal at the following website:
https://github.com/MediaPortal/MediaPortal-1/tree/Anysee.
More information about compiling mediaportal, can you find in the wiki at the following website:
http://wiki.team-mediaportal.com/1_MEDIAPORTAL_1/18_Contribute/4_Development/Compiling.

At my first attempt, I have not succeeded in compiling the source. (due a bad download, I believe ).
On my second attempt I have compiled the Anysee source , but after installing mediaportal I could not open the configuration screen of the tvserver through an error.
After that I compared the "Anysee" branch and the "pre_release_1.2.3_testing" branch, then I have copied the Anysee parts in the pre_release_1.2.3_testing source code and compiled it.
After installing everything went fine (scanning satellites, etc), until I wanted to watch encrypted TV.
My knowledge of programming is very limited, but I think the CIAPI.dll is the cause.

Jean
Ps:confused:orry for the bad english
 

jehe

Portal Pro
February 15, 2011
694
216
57
Home Country
Belgium Belgium
Peter,
I have used the latest version of the Anysee repository, but after installation I could not find the ciapi.dll in the program files, so something has gone wrong when compiling.
I would like to add the log files, but I have also tested M. ... I with this version, which is not allowed, and then there is no support available.
When I have time I will reinstall media portal, and then post the log files.

Jean
 

Peter Andersson

Portal Member
April 13, 2012
7
0
36
Home Country
Sweden Sweden
Hi Jean i have gotten Media portal to execute the anysee code now, but i can't get it to descrable my channels im using a Anysee E7 T2C with a cam inserted into it.

I have no idea what to do next to get it to work.

But in hopes that this will help you Jehe here is what i have done, i downloaded the 1.2.3 repo then i used a compare tool to find all diffs between and the anysee repro and i found the following files that diffed (and are of importance)
TvEngine3\TVLibrary\TVLibrary\Implementations\DVB\ConditionalAccess\Anysee.cs replace, fix compiler errors
TvEngine3\TVLibrary\TVLibrary\Implementations\DVB\ConditionalAccess\ConditionalAccess.cs manual merge
TvEngine3\TVLibrary\TvLibrary.Interfaces\Implementations\Channels\DVBSChannel.cs replace
TvEngine3\TVLibrary\TVServer.Base\CIAPI.dll Copy

After this i installed media portal 1.2.3 then i stopped the service and copied all dll files from the D:\Build\MediaPortal-MediaPortal-1-1367f5c\TvEngine3\TVLibrary\TVLibrary\bin\Release + the CIAPI.dll to the root of the media portal program folder and started the service again.

here is my log file incase any one has a idea what could be wrong
Code:
2012-04-17 21:35:03.728828 [(19)]: Anysee: supported tuner detected
2012-04-17 21:35:03.729828 [(19)]: Anysee: read device information
2012-04-17 21:35:03.730828 [(19)]:  platform = Pcb508T2C
2012-04-17 21:35:03.731828 [(19)]: Anysee: is CI slot present
2012-04-17 21:35:03.732828 [(19)]: Anysee: result = True
2012-04-17 21:35:03.733828 [(19)]: Anysee: open conditional access interface
2012-04-17 21:35:03.736829 [(19)]: Anysee: loading API, API index = 1
2012-04-17 21:35:03.791832 [(19)]: Anysee: opening API, API index = 1
2012-04-17 21:35:03.793832 [(19)]: Anysee: starting API access thread
2012-04-17 21:35:03.808833 [Anysee API 1 Access(21)]: Anysee: creating new CI API instance
2012-04-17 21:35:03.812833 [Anysee API 1 Access(21)]: Anysee: created instance successfully
2012-04-17 21:35:03.813833 [Anysee API 1 Access(21)]: Anysee: determining instance index
2012-04-17 21:35:03.815833 [Anysee API 1 Access(21)]: Anysee: number of devices = 1
2012-04-17 21:35:03.816833 [Anysee API 1 Access(21)]: Anysee: device 1
2012-04-17 21:35:03.817833 [Anysee API 1 Access(21)]:  device path  = @device:pnp:\\?\usb#vid_1c73&pid_861f#6&2c24ce2e&0&2#{fd0a5af4-b41d-11d2-9c95-00c04f7971e0}\{77fde2fa-ce7e-4c45-b8ec-e44ed60a9f81}
2012-04-17 21:35:03.818833 [Anysee API 1 Access(21)]:  index        = 1
2012-04-17 21:35:03.820833 [Anysee API 1 Access(21)]:  Anysee index = 1
2012-04-17 21:35:03.821833 [Anysee API 1 Access(21)]: Anysee: found correct instance
2012-04-17 21:35:03.822834 [Anysee API 1 Access(21)]: Anysee: opening CI API
2012-04-17 21:35:03.826834 [Anysee API 1 Access(21)]: Anysee: result = success
2012-04-17 21:35:04.306861 [(19)]: Anysee: API access thread running
2012-04-17 21:35:04.308861 [(19)]: Anysee: setting callbacks
2012-04-17 21:35:04.311861 [(19)]: Anysee: execute API command
2012-04-17 21:35:04.314862 [(19)]: Anysee: result = success
2012-04-17 21:35:04.316862 [(19)]: Anysee: result = success
2012-04-17 21:38:21.665149 [(12)]: Anysee: send PMT to CAM, list action = Only, command = Descrambling
2012-04-17 21:38:21.666149 [(12)]: Anysee: CAM not available
 

Peter Andersson

Portal Member
April 13, 2012
7
0
36
Home Country
Sweden Sweden
After checking the code a bit i was a bit confused the message "Anysee: CI state change callback, slot = {0}" was never logged, so i checked the code and it seems this should be called when the state changed so i unplugged my cam module and plugged it in again this resulted in the following logs:
Code:
2012-04-17 22:52:23.553122 [(11)]: Anysee: API access thread running
2012-04-17 22:52:23.553122 [(11)]: Anysee: setting callbacks
2012-04-17 22:52:23.553122 [(11)]: Anysee: execute API command
2012-04-17 22:52:23.553122 [(11)]: Anysee: result = success
2012-04-17 22:52:23.553122 [(11)]: Anysee: result = success
2012-04-17 22:52:35.299943 [(11)]: Anysee: send PMT to CAM, list action = Only, command = Descrambling
2012-04-17 22:52:35.299943 [(11)]: Anysee: CAM not available
2012-04-17 22:53:11.944407 [(18)]: Anysee: CI state change callback, slot = 1
2012-04-17 22:53:11.944407 [(18)]:  old state = Empty
2012-04-17 22:53:11.944407 [(18)]:  new state = CamInserted
2012-04-17 22:53:11.944407 [(18)]:  message  = Initializing...
2012-04-17 22:53:24.518029 [(19)]: Anysee: send PMT to CAM, list action = Only, command = Descrambling
2012-04-17 22:53:24.533629 [(19)]: Anysee: execute API command
2012-04-17 22:53:24.549229 [(19)]: Anysee: result = failure, hr = 0x80004005 (E_FAIL)
2012-04-17 22:53:24.549229 [(19)]: Anysee: result = failure
2012-04-17 22:53:27.591235 [(19)]: Anysee: send PMT to CAM, list action = Only, command = Descrambling
2012-04-17 22:53:27.591235 [(19)]: Anysee: execute API command
2012-04-17 22:53:27.591235 [(19)]: Anysee: result = failure, hr = 0x80004005 (E_FAIL)
2012-04-17 22:53:27.606835 [(19)]: Anysee: result = failure
2012-04-17 22:53:30.648840 [(19)]: Anysee: send PMT to CAM, list action = Only, command = Descrambling
2012-04-17 22:53:30.648840 [(19)]: Anysee: execute API command
2012-04-17 22:53:30.648840 [(19)]: Anysee: result = failure, hr = 0x80004005 (E_FAIL)
2012-04-17 22:53:30.664440 [(19)]: Anysee: result = failure
2012-04-17 22:53:31.631642 [(18)]: Anysee: CI state change callback, slot = 1
2012-04-17 22:53:31.631642 [(18)]:  old state = CamInserted
2012-04-17 22:53:31.631642 [(18)]:  new state = Empty
2012-04-17 22:53:31.631642 [(18)]:  message  = Empty
2012-04-17 22:53:33.690845 [(19)]: Anysee: send PMT to CAM, list action = Only, command = Descrambling
2012-04-17 22:53:33.706445 [(19)]: Anysee: CAM not available
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hi folks

    Thank you for your desire to test my code, but please be aware that it is not production-ready. I did not really want to release it publicly and provide support yet because I don't have the time to provide proper support. I can tell you that it works for me with an Anysee E7 S2. You may find that the issue is a CAM compatibility issue, or just a timing issue. Please check if the CI menu works, and also post full logs if you are going to bother posting logs. About the code: my branch was mostly based on the 1.2.x release branch at the release of 1.2.2, so I can't say if it would work well with 1.2.3.

    mm
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Also, please enable the logging line "DVB_MMI.DumpBinary(_mmiMessageBuffer, 0, PmtDataSize);" in Anysee.SendPmt().
     

    Peter Andersson

    Portal Member
    April 13, 2012
    7
    0
    36
    Home Country
    Sweden Sweden
    There seems to be no variable by the name _mmiMessageBuffer so that line just gives a compile error... im guessing you want to use the variable buffer by inspecting the other DumpBinary calls in that class?
     
    Last edited:

    Users who are viewing this thread

    Similar threads

    Hi, I found the problem in my configuration without PowerDVD. In the past I had configured the following setting: "Use internal Blu-ray menu player" and it works - slowly but it worked fine. As described, this suddenly stopped working after an update in the last few months. Yesterday, as a test, I deactivated this check box and it...
    Hi, I found the problem in my configuration without PowerDVD. In the past I had configured the following setting: "Use internal...
    Hello english forum! Since my question, which I asked weeks ago in the German-speaking forum, has not been answered until today, I...
    Replies
    43
    Views
    5K
    Thank you! I guess I was overthinking it.
    Thank you! I guess I was overthinking it.
    This is apparently such a low level question that it's not even documented that I can find - I apologize in advance for this: I...
    Replies
    2
    Views
    618
    I removed all sign of MySQL, rebooted, did a clean reinstall. It reinstalled 5.6, But I've still got both the same problem - unable to connect to any of the specified MySQL hosts. And Hostname is still in red. I don't understand - this is a dedicated TV computer. Unless an update did this I don't know why there's a problem in the...
    I removed all sign of MySQL, rebooted, did a clean reinstall. It reinstalled 5.6, But I've still got both the same problem -...
    I've been using MediaPortal for 20 or so years. Last night it recorded perfectly. This arvo it doesn't - will run videos but not...
    Replies
    2
    Views
    450
    I uninstalled MP, made sure no sub folders were left n any programmes folders, changed the computer name, rebooted, installed MP and set logs and rebooted and ran TVServer. Didn't do anything in regard to S Loopback adapter. I've been using NextPvr since the problem became insurmountable. Only reason it's not a good long term...
    I uninstalled MP, made sure no sub folders were left n any programmes folders, changed the computer name, rebooted, installed MP...
    I've been using MediaPortal for 20 or so years. Last night it recorded perfectly. This arvo it doesn't - will run videos but not...
    Replies
    24
    Views
    2K
    The problem with MP 1.32 was that the TV Server component was still 32-bit, even when you installed the 64-bit version of the MP client. MP 1.33 will have 32-bit and 64-bit versions of both the MP client and TV Server. My understanding is that it will not be possible to perform an upgrade install from a 64-bit client + 32-bit TV...
    The problem with MP 1.32 was that the TV Server component was still 32-bit, even when you installed the 64-bit version of the MP...
    This is on a windows 11 latest rev OS: This particular component has been very frustrating. I'm a new potential user, trying to...
    Replies
    7
    Views
    733
    Top Bottom