TOOLSP
"
WELCOME !

Please ! USE [CODE] tags for your LINKS and CODE.

Favor usar balisas [CODE] para sus vínculos y código.

Merci d'utiliser les balises [CODE] pour vos liens et code.


[code]http://Thank.you[/code]
"
*** Doc. Kodi & PYthon ***
.
.
Python & Modules PY
.
.
.
.
(Video) Cache Kodi
.
.
.
Addons Kodi
.
.
.
Addons Kodi
.
.
*** GITHUB ***
.
.
URLresolver (J.S.) [GIT] +
.
.
.
URLresolver (elD.) [GIT] -
.
.
URLresolver (tvA.) [GIT] -
.
.
.
.
Cloudflare (external) [GIT]
.
.
.
*** Associated ***
.
Pastebin Your list online
.
mediafire Upload Files
.
imgur Upload Pics
lyngsat TV logos collection
transparent .png
.
http://hola.org free? VPN
Hola.apk free? VPN App.
.
hidester- free Proxy
.
webgrabplus EPG - Eng
xmltv EPG - Fr
kazer EPG - Fr
.
.wordreference Traduction
.
mail.com (fast sign-in)
.
.
FRIENDS / PARTNERS

£$π community

créer un forum


Thumbnail, fanart : OK ... But ... MUSIC ???

Go down

Thumbnail, fanart : OK ... But ... MUSIC ???

Post by jujuuj on Sun 2 Dec - 3:59

Try to put this item in your list !

Code:

<item>
<title>$doregex[sonido]  ° </title>
<thumbnail>http://www.transparenttextures.com/patterns/asfalt-light.png</thumbnail>
<link>NA</link>
<regex>
<name>sonido</name>      
<expres><![CDATA[#$pyFunction
import xbmc
def GetLSProData(page_data,Cookie_Jar,m):
  xbmc.executebuiltin('PlayMedia("https://chomikuj.pl/Audio.ashx?id=4731932190&type=2&tp=mp3",1)') # supanova
  return ' '
]]></expres>
<page></page>
</regex>    
</item>


...by the way ... Note that in that url, there is only 1 variable :
"hXXps://chomikuj.pl/Audio.ashx?id=4731932190&type=2&tp=mp3"

SO ... After a SEARCH, here : https://chomikuj.pl/action/SearchFiles    (search = supanova)
u can see that variable at the end of the url when poiting the link to YOUR song with mouse ...

afro Musical ! Man ...  afro  ... Now, it's up to you
avatar
jujuuj

Messages : 233
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: Thumbnail, fanart : OK ... But ... MUSIC ???

Post by jujuuj Yesterday at 2:17

the item above will play a song when opening the list.xml

if u want the song to start when you click on a link (of your list)
then :

Code:

<item>
<title>an item (makelist for example...)</title>

<link>$doregex[sonido]$doregex[makelist]</link>
<regex>
<name>sonido</name>     
<expres><![CDATA[#$pyFunction
import xbmc
def GetLSProData(page_data,Cookie_Jar,m):
  xbmc.executebuiltin('PlayMedia("https://chomikuj.pl/Audio.ashx?id=4731932190&type=2&tp=mp3",1)')
]]></expres>
<page></page>
</regex> 

[your regex[makelist] here]

</item>

avatar
jujuuj

Messages : 233
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: Thumbnail, fanart : OK ... But ... MUSIC ???

Post by jujuuj Yesterday at 2:21

and, if this item already contains some PYthon code inside

then u can add this 2 lines INSIDE of the "PYthon part" of the existing code :

Code:

import xbmc
#YOUR CODE
  xbmc.executebuiltin('PlayMedia("https://chomikuj.pl/Audio.ashx?id=4731932190&type=2&tp=mp3",1)')
  #YOUR CODE
avatar
jujuuj

Messages : 233
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: Thumbnail, fanart : OK ... But ... MUSIC ???

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum