fixes
This commit is contained in:
		
							parent
							
								
									7c27a5d311
								
							
						
					
					
						commit
						9193b14638
					
				
							
								
								
									
										2
									
								
								Core.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Core.py
									
									
									
									
									
								
							@ -1546,6 +1546,7 @@ class Core:
 | 
				
			|||||||
        get = params.get
 | 
					        get = params.get
 | 
				
			||||||
        xbmc.executebuiltin('xbmc.Playlist.Clear')
 | 
					        xbmc.executebuiltin('xbmc.Playlist.Clear')
 | 
				
			||||||
        url = unquote(get("url"), None)
 | 
					        url = unquote(get("url"), None)
 | 
				
			||||||
 | 
					        url2 = unquote(get("url2"), None)
 | 
				
			||||||
        fileIndex = unquote(get("index"), None)
 | 
					        fileIndex = unquote(get("index"), None)
 | 
				
			||||||
        if url:
 | 
					        if url:
 | 
				
			||||||
            self.__settings__.setSetting("lastTorrentUrl", url)
 | 
					            self.__settings__.setSetting("lastTorrentUrl", url)
 | 
				
			||||||
@ -1559,6 +1560,7 @@ class Core:
 | 
				
			|||||||
            if fileIndex == None: fileIndex = chooseFile(torrent.getContentList())
 | 
					            if fileIndex == None: fileIndex = chooseFile(torrent.getContentList())
 | 
				
			||||||
            if fileIndex:
 | 
					            if fileIndex:
 | 
				
			||||||
                params = {'url': fileIndex, 'filename': filename}
 | 
					                params = {'url': fileIndex, 'filename': filename}
 | 
				
			||||||
 | 
					                if url2: params['url2'] = url2
 | 
				
			||||||
                self.playTorrent(params)
 | 
					                self.playTorrent(params)
 | 
				
			||||||
                #xbmc.executebuiltin('xbmc.RunPlugin("plugin://plugin.video.torrenter/?action=playTorrent&url=%s' % (fileIndex))
 | 
					                #xbmc.executebuiltin('xbmc.RunPlugin("plugin://plugin.video.torrenter/?action=playTorrent&url=%s' % (fileIndex))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user