2016-09-19, 04:07
It's still missing alot of channel in khmertv..
Quote:hxxps://www.facebook.com/rfacambodia/
(2016-05-27, 03:42)dknlght Wrote:(2016-05-26, 21:25)cdkao Wrote:(2016-05-26, 20:49)cat2115 Wrote: hmm it works on iPhone. Is it v1.1.9 your using? I will have to check after work.
If you're using Windows, open Window Explorer and type %appdata%. Then click Kodi folder-->
1) addon-->and delete Konkhmerall folder.
2) userdata-->addon_data--> if you see KonKhmerAll folder, delete it
3) another folder i think either cache or Temp folder.. Go inside the folder and delete all files in it.
Now try to install konkhmerall again.
Ahh, I was on version 1.1.5. I had to uninstall and reinstall the addon. Updating it over the old version won't work.
Thank you very much Cat!!!
I'll add these two addons to the repo as well
#vlink = 'https://docs.google.com/file/'+str(link)+ '?pli=1'
vlink = 'https://docs.google.com/get_video_info?docid='+str(link)+ '?pli=1'
#stream_map= re.compile('fmt_stream_map","(.+?)"').findall(vlink)[0].replace("\/", "/")
stream_map= re.compile('fmt_stream_map=(.+?)&fmt_list').findall(vlink)[0].replace("\/", "/")
(2016-10-20, 01:05)cdkao Wrote: @cat2115
Cat were you able to update your repo? Thank you.
(2016-10-20, 02:23)cat2115 Wrote:(2016-10-20, 01:05)cdkao Wrote: @cat2115
Cat were you able to update your repo? Thank you.
So far google stream not working for my addon. Let me test how dk code works. Hopefully Dk and price can spare a hand
Quote:http://www.khmotion.com/2016/05/mchas-sn...inued.html Part 2
Quote:20:45:53 T:712 WARNING: XFILE::CFileFactory::CreateLoader - unsupported protocol(plugin) in plugin://plugin.video.mega_khmer_addon/?url=https%3A%2F%2Fdocs.google.com%2Ffile%2Fd%2F0B_Shb6bNnKwaZ2FaR29yM05DOG8%2Fpreview&mode=4&name=Part+02
20:45:53 T:712 ERROR: XFILE::CFileCache::Open - failed to open source <plugin://plugin.video.mega_khmer_addon/?url=https%3A%2F%2Fdocs.google.com%2Ffile%2Fd%2F0B_Shb6bNnKwaZ2FaR29yM05DOG8%2Fpreview&mode=4&name=Part+02>
20:45:53 T:712 ERROR: InputStream: Error opening, plugin://plugin.video.mega_khmer_addon/?url=https%3A%2F%2Fdocs.google.com%2Ffile%2Fd%2F0B_Shb6bNnKwaZ2FaR29yM05DOG8%2Fpreview&mode=4&name=Part+02
20:45:56 T:2648 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for https://r8---sn-p5qlsnee.c.docs.google.c...=16&sc=yes
20:45:56 T:2648 NOTICE: DVDPlayer: Opening: https://r8---sn-p5qlsnee.c.docs.google.c...=16&sc=yes
20:45:56 T:2648 WARNING: CDVDMessageQueue(player):ut MSGQ_NOT_INITIALIZED
20:45:56 T:2648 WARNING: DXVA::CProcessorHD:reInit - failed to get video devices.
20:45:56 T:2648 NOTICE: CWinRenderer:reinit - could not init DXVA processor - skipping
20:45:56 T:4696 NOTICE: Creating InputStream
20:45:56 T:4696 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for https://r8---sn-p5qlsnee.c.docs.google.c...=16&sc=yes
20:45:56 T:4696 ERROR: CCurlFile::FillBuffer - Failed: HTTP returned error 403
20:45:56 T:4696 ERROR: CCurlFile::Open failed with code 403 for https://r8---sn-p5qlsnee.c.docs.google.c...=16&sc=yes
20:45:56 T:4696 ERROR: XFILE::CFileCache::Open - failed to open source <https://r8---sn-p5qlsnee.c.docs.google.com/videoplayback?requiressl=yes&id=377b57d2f89e1272&itag=43&source=webdrive&ttl=transient&app=texmex&ip=108.36.248.17&ipbits=0&expire=1477025144&cp=QVJMWUFfVFFSRVhNOjM1aVdCWDhWN2tY&sparams=requiressl%2Cid%2Citag%2Csource%2Cttl%2Cip%2Cipbits%2Cexpire%2Ccp&signature=9D4E552BE2C54A87DACA936BC5638CECA1EB7804.520E951714CE5D26DACE54686863F950C0370EBB&key=ck2&mm=30&mn=sn-p5qlsnee&ms=nxu&mt=1477010714&mv=m&nh=IgpwcjAyLmlhZDI2Kg0yMDQuMTQ4Ljc5LjEz&pl=16&sc=yes>
20:45:56 T:4696 ERROR: CDVDPlayer::OpenInputStream - error opening [https://r8---sn-p5qlsnee.c.docs.google.c...=16&sc=yes]
20:45:56 T:4696 NOTICE: CDVDPlayer::OnExit()
20:45:56 T:2648 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.mega_khmer_addon/?url=https%3A%2F%2Fdocs.google.com%2Ffile%2Fd%2F0B_Shb6bNnKwaZ2FaR29yM05DOG8%2Fpreview&mode=4&name=Part+02]
20:45:56 T:2648 NOTICE: CDVDPlayer::CloseFile()
20:45:56 T:2648 NOTICE: DVDPlayer: waiting for threads to exit
20:45:56 T:2648 NOTICE: DVDPlayer: finished waiting
20:45:56 T:2648 NOTICE: CDVDPlayer::CloseFile()
20:45:56 T:2648 NOTICE: DVDPlayer: waiting for threads to exit
20:45:56 T:2648 NOTICE: DVDPlayer: finished waiting
def VIDEO_HOSTING(vlink):
elif 'google.com' in vlink:
VideoURL = DOCS_GOOGLE(vlink)
print 'VideoURL: %s' % VideoURL
#xbmc.executebuiltin("XBMC.Notification(Please Wait!,Google Loading selected video)")
#Play_VIDEO(VideoURL)
Play_VIDEO(urllib2.unquote(VideoURL).encode("utf8","ignore"))
def DOCS_GOOGLE(Video_ID):
req = urllib2.Request(Video_ID)
req.add_header('User-Agent', 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.3')
response = urllib2.urlopen(req)
link=response.read()
response.close()
vlink = 'https://docs.google.com/file/'+str(link)+ '?pli=1'
#stream_map= re.compile('fmt_stream_map","(.+?)"').findall(vlink)[0].replace("\/", "/")
stream_map= re.compile('fmt_stream_map=(.+?)&fmt_list').findall(vlink)
if(len(stream_map) > 0):
#formatArray = stream_map.split(',')
formatArray = stream_map[0].replace("\/", "/").split(',')
for formatContent in formatArray:
formatContentInfo = formatContent.split('|')
qual = formatContentInfo[0]
if(qual == '120'):
VideoURL = (formatContentInfo[1]).decode('unicode-escape')
elif(qual == '46'):
VideoURL = (formatContentInfo[1]).decode('unicode-escape')
elif(qual == '45'):
VideoURL = (formatContentInfo[1]).decode('unicode-escape')
elif(qual == '38'):
VideoURL = (formatContentInfo[1]).decode('unicode-escape')
elif(qual == '37'):
VideoURL = (formatContentInfo[1]).decode('unicode-escape')
elif(qual == '22'):
VideoURL = (formatContentInfo[1]).decode('unicode-escape')
elif(qual == '35'):
VideoURL = (formatContentInfo[1]).decode('unicode-escape')
elif(qual == '18'):
VideoURL = (formatContentInfo[1]).decode('unicode-escape')
elif(qual == '44'):
VideoURL = (formatContentInfo[1]).decode('unicode-escape')
elif(qual == '43'):
VideoURL = (formatContentInfo[1]).decode('unicode-escape')
elif(qual == '59'):
VideoURL = (formatContentInfo[1]).decode('unicode-escape')
elif(qual == '6'):
VideoURL = (formatContentInfo[1]).decode('unicode-escape')
elif(qual == '34'):
VideoURL = (formatContentInfo[1]).decode('unicode-escape')
elif(qual == '5'):
VideoURL = (formatContentInfo[1]).decode('unicode-escape')
elif(qual == '36'):
VideoURL = (formatContentInfo[1]).decode('unicode-escape')
else:
VideoURL = (formatContentInfo[1]).decode('unicode-escape')
return VideoURL
#Mode
elif mode==4:
VIDEO_HOSTING(url)