PlayMedia() not working with images

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Angelscry Offline
Skilled Python Coder
Posts: 3,246
Joined: Sep 2010
Reputation: 52
Location: MTL, Canada
Post: #1
I have created favorites from different media files : video (AVI), music (MP3), images (JPG and CBR). All those media can be directly open and play or display from XBMC. Then I have added them into favorites, like below :
Code:
<favourites>
    <favourite name="V_for_Vendetta_00.cbr" thumb="special://masterprofile/Thumbnails/generated/1/1ba6ae94.png">PlayMedia(&quot;/home/angelscry/Desktop/V For Vendetta/content/V_for_Vendetta_00.cbr&quot;)</favourite>
    <favourite name="v-for-vendetta.jpg" thumb="special://masterprofile/Thumbnails/7/7b15a807.jpg">PlayMedia(&quot;/home/angelscry/Desktop/V For Vendetta/content/v-for-vendetta.jpg&quot;)</favourite>
    <favourite name="V For Vendetta - Tchaikovsky - 1812 Overture.mp3">PlayMedia(&quot;/home/angelscry/Desktop/V For Vendetta/content/V For Vendetta - Tchaikovsky - 1812 Overture.mp3&quot;)</favourite>
    <favourite name="V For Vendetta.avi" thumb="special://masterprofile/Thumbnails/Video/7/auto-7d687eff.tbn">PlayMedia(&quot;/home/angelscry/Desktop/V For Vendetta/content/V For Vendetta.avi&quot;)</favourite>
</favourites>
Problem is that only AVI and MP3 files can be played but JPG and CBR files are not displayed. What is going wrong? Images files are not supported by the PlayMedia() function? Is there a different XBMC function to display images ? If so, what is the right function to use? And so, that's mean there is a bug with images favorites creation. Oo

Advanced Launcher | Manual | WiKi | Forums | Tutorials | Gallery | GitHub | Archives | Donate

find quote
jakobs84 Offline
Junior Member
Posts: 3
Joined: Aug 2013
Reputation: 0
Post: #2
Do you solved your problem?? I have the same problem in my post

http://forum.xbmc.org/showthread.php?tid=173144
find quote
Angelscry Offline
Skilled Python Coder
Posts: 3,246
Joined: Sep 2010
Reputation: 52
Location: MTL, Canada
Post: #3
(2013-09-16 12:33)jakobs84 Wrote:  Do you solved your problem?? I have the same problem in my post

http://forum.xbmc.org/showthread.php?tid=173144
No.

Advanced Launcher | Manual | WiKi | Forums | Tutorials | Gallery | GitHub | Archives | Donate

find quote
jakobs84 Offline
Junior Member
Posts: 3
Joined: Aug 2013
Reputation: 0
Post: #4
ok
find quote
maherc Offline
Junior Member
Posts: 23
Joined: Aug 2013
Reputation: 1
Location: Canada / Toronto
Post: #5
(2011-09-14 03:33)Angelscry Wrote:  I have created favorites from different media files : video (AVI), music (MP3), images (JPG and CBR). All those media can be directly open and play or display from XBMC. Then I have added them into favorites, like below :
Code:
<favourites>
    <favourite name="V_for_Vendetta_00.cbr" thumb="special://masterprofile/Thumbnails/generated/1/1ba6ae94.png">PlayMedia(&quot;/home/angelscry/Desktop/V For Vendetta/content/V_for_Vendetta_00.cbr&quot;)</favourite>
    <favourite name="v-for-vendetta.jpg" thumb="special://masterprofile/Thumbnails/7/7b15a807.jpg">PlayMedia(&quot;/home/angelscry/Desktop/V For Vendetta/content/v-for-vendetta.jpg&quot;)</favourite>
    <favourite name="V For Vendetta - Tchaikovsky - 1812 Overture.mp3">PlayMedia(&quot;/home/angelscry/Desktop/V For Vendetta/content/V For Vendetta - Tchaikovsky - 1812 Overture.mp3&quot;)</favourite>
    <favourite name="V For Vendetta.avi" thumb="special://masterprofile/Thumbnails/Video/7/auto-7d687eff.tbn">PlayMedia(&quot;/home/angelscry/Desktop/V For Vendetta/content/V For Vendetta.avi&quot;)</favourite>
</favourites>
Problem is that only AVI and MP3 files can be played but JPG and CBR files are not displayed. What is going wrong? Images files are not supported by the PlayMedia() function? Is there a different XBMC function to display images ? If so, what is the right function to use? And so, that's mean there is a bug with images favorites creation. Oo

How Can I convert my Favorites into XML file? Am looking for a solution? anyone please?
find quote
Angelscry Offline
Skilled Python Coder
Posts: 3,246
Joined: Sep 2010
Reputation: 52
Location: MTL, Canada
Post: #6
(2013-10-23 21:07)maherc Wrote:  
(2011-09-14 03:33)Angelscry Wrote:  I have created favorites from different media files : video (AVI), music (MP3), images (JPG and CBR). All those media can be directly open and play or display from XBMC. Then I have added them into favorites, like below :
Code:
<favourites>
    <favourite name="V_for_Vendetta_00.cbr" thumb="special://masterprofile/Thumbnails/generated/1/1ba6ae94.png">PlayMedia(&quot;/home/angelscry/Desktop/V For Vendetta/content/V_for_Vendetta_00.cbr&quot;)</favourite>
    <favourite name="v-for-vendetta.jpg" thumb="special://masterprofile/Thumbnails/7/7b15a807.jpg">PlayMedia(&quot;/home/angelscry/Desktop/V For Vendetta/content/v-for-vendetta.jpg&quot;)</favourite>
    <favourite name="V For Vendetta - Tchaikovsky - 1812 Overture.mp3">PlayMedia(&quot;/home/angelscry/Desktop/V For Vendetta/content/V For Vendetta - Tchaikovsky - 1812 Overture.mp3&quot;)</favourite>
    <favourite name="V For Vendetta.avi" thumb="special://masterprofile/Thumbnails/Video/7/auto-7d687eff.tbn">PlayMedia(&quot;/home/angelscry/Desktop/V For Vendetta/content/V For Vendetta.avi&quot;)</favourite>
</favourites>
Problem is that only AVI and MP3 files can be played but JPG and CBR files are not displayed. What is going wrong? Images files are not supported by the PlayMedia() function? Is there a different XBMC function to display images ? If so, what is the right function to use? And so, that's mean there is a bug with images favorites creation. Oo

How Can I convert my Favorites into XML file? Am looking for a solution? anyone please?
If you create favourites into XBMC, they will be automatically saved into an XML file : http://wiki.xbmc.org/index.php?title=Favourites.xml

Advanced Launcher | Manual | WiKi | Forums | Tutorials | Gallery | GitHub | Archives | Donate

find quote