Kodi Community Forum
PlayMedia() not working with images - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: PlayMedia() not working with images (/showthread.php?tid=110082)



PlayMedia() not working with images - Angelscry - 2011-09-14

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


RE: PlayMedia() not working with images - jakobs84 - 2013-09-16

Do you solved your problem?? I have the same problem in my post

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


RE: PlayMedia() not working with images - Angelscry - 2013-09-16

(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.


RE: PlayMedia() not working with images - jakobs84 - 2013-09-16

ok


RE: PlayMedia() not working with images - maherc - 2013-10-23

(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?


RE: PlayMedia() not working with images - Angelscry - 2013-10-23

(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