sreichholf / dreamDroid

DreamDroid is an open-source enigma2 client for android based devices.
https://dreamdroid.org
GNU General Public License v3.0
106 stars 43 forks source link

cannot add timer after search #106

Closed basalt79 closed 3 years ago

basalt79 commented 6 years ago

search for a movie, found some with matching name, try to add timer for one of the movie will cause in "conflict detected"

navigate to the SAME entry via EPG and select (Add timer) the timer for the item is added correctly.

during debug i found out that the ID of the object is different:

--> Search

0 = {java.util.HashMap$HashMapEntry@5278} "eventtitle" -> "Lollipop Monster"
1 = {java.util.HashMap$HashMapEntry@5279} "eventduration_readable" -> "90"
2 = {java.util.HashMap$HashMapEntry@5280} "eventstarttime_readable" -> "00:10"
3 = {java.util.HashMap$HashMapEntry@5281} "eventduration" -> "5400"
4 = {java.util.HashMap$HashMapEntry@5282} "eventid" -> "5906"
5 = {java.util.HashMap$HashMapEntry@5283} "eventstart" -> "1451949000"
6 = {java.util.HashMap$HashMapEntry@5284} "name" -> "ZDF"
7 = {java.util.HashMap$HashMapEntry@5285} "eventdescription" -> "In der Reihe "Young Crazy Love""
8 = {java.util.HashMap$HashMapEntry@5286} "eventstart_readable" -> "Di., 05.01. - 00:10"
9 = {java.util.HashMap$HashMapEntry@5287} "reference" -> "1:0:1:6D66:437:1:C00000:0:0:0:"

/web/timeraddbyeventid?sRef=1%3A0%3A1%3A6D70%3A437%3A1%3AC00000%3A0%3A0%3A0%3A&eventid=4864

--> EPG

0 = {java.util.HashMap$HashMapEntry@5639} "eventtitle" -> "Lollipop Monster"
1 = {java.util.HashMap$HashMapEntry@5640} "currenttime" -> "1450712166"
2 = {java.util.HashMap$HashMapEntry@5641} "eventduration_readable" -> "90"
3 = {java.util.HashMap$HashMapEntry@5642} "eventstarttime_readable" -> "00:10"
4 = {java.util.HashMap$HashMapEntry@5643} "eventduration" -> "5400"
5 = {java.util.HashMap$HashMapEntry@5644} "eventid" -> "5906"
6 = {java.util.HashMap$HashMapEntry@5645} "eventstart" -> "1451949000"
7 = {java.util.HashMap$HashMapEntry@5646} "name" -> "ZDF"
8 = {java.util.HashMap$HashMapEntry@5647} "eventdescription" -> "In der Reihe "Young Crazy Love""
9 = {java.util.HashMap$HashMapEntry@5648} "eventstart_readable" -> "Di., 05.01. - 00:10"
10 = {java.util.HashMap$HashMapEntry@5649} "reference" -> "1:0:1:6D66:437:1:FFFF0282:0:0:0:"

/web/timeraddbyeventid?sRef=1%3A0%3A1%3A6D66%3A437%3A1%3AFFFF0282%3A0%3A0%3A0%3A&eventid=5906
sreichholf commented 6 years ago

Yeah, a really old one right? Thx for chasing it down THAT far.

basalt79 commented 3 years ago

I debugged it again, and found out, that this is NOT and dreamDroid issue, because the issue also occure with the Dreambox WebControl. So looks like, that the reference gave back from search can not be used as sRef for adding the timer.

@sreichholf : i run a newnigma2 system on the dreambox. so i will try to find the fix there.

basalt79 commented 3 years ago

see https://board.newnigma2.to/wbb4/index.php/Thread/32895 for more details.