Hi all,
I know my question is very old and there are many answers and debates in many forums about the smart playlist in XBMC 11 - Eden.I tried all the suggestions but no use.
Here, I describe the process of making smart playlist again but it does not run:
I have different folders storing hd films in my local hard drives and want to create smart playlists for hd films which will be put on the Home Menu.
I followed the guidance to create smart playlists as usual (in the video - playlists - new smart playlists) and here is the content of this created file stored in C:\Documents and Settings\tungnt\Application Data\XBMC\userdata\playlists\video:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<smartplaylist type="musicvideos">
<name>video music</name>
<match>all</match>
<rule field="path" operator="contains">E:\musicvideo\</rule>
</smartplaylist>
After creating the smart playlist, I click on it in xbmc and it is opened but blank.
Can someone please help me. I tried all the skins but no use.
Thank in advance
Tung
old question but no solution: cannot run smart playlist in XBMC 11
tungnt
Junior Member Posts: 11 Joined: Apr 2012 Reputation: 0 |
2012-04-27 10:59
Post: #1
|
| find quote |
jhsrennie
Team-XBMC Developer Posts: 7,237 Joined: Nov 2008 Reputation: 117 Location: Chester, UK |
2012-04-27 11:21
Post: #2
I've just tried your smart playlist (with a few edits to suit my system) and it worked fine.
If you look in a debug log XBMC will tell you what query it is running. In my log I see: Code: select * from movieview WHERE (strPath LIKE '%H:\XBMC\video\%')This is a bit different to what you'll see because I had to change the path and I had to modify the playlist to set the type to "movies" since I don't have any music videos. You could try using something like SQLLiteBrowser to run the query manually and see what happens. |
| find quote |
tungnt
Junior Member Posts: 11 Joined: Apr 2012 Reputation: 0 |
2012-04-28 06:50
Post: #3
Hi Jhsrennie,
Thank for your help but because I am a newbie to programming, I do not understand all. Could you guide me more detailed and more simple, please? If possible, please post the content of your smart playlist for "path". I tried to reset the new smart playlist as follow but still failed: <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <smartplaylist type="movies"> <name>hd movie</name> <match>all</match> <rule field="path" operator="is">E:\video\</rule> </smartplaylist> Here is the part of my debug file: 11:42:59 T:3896 WARNING: XFILE::CFactoryDirectory::Create - Unsupported protocol(newsmartplaylist) in newsmartplaylist:// 11:42:59 T:3896 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(newsmartplaylist) in newsmartplaylist://movie.tbn/ 11:42:59 T:3896 DEBUG: Thread Background Loader 3896 terminating 11:42:59 T:3796 DEBUG: CApplication::ProcessMouse: trying mouse action leftclick 11:42:59 T:3796 DEBUG: CGUIMediaWindow::GetDirectory (special://profile/playlists/video/hd movie.xsp) 11:42:59 T:3796 DEBUG: ParentPath = [special://videoplaylists/] 11:42:59 T:3796 DEBUG: CVideoDatabase::RunQuery took 1 ms for 0 items query: select * from movieview WHERE (strPath LIKE 'E:\musicvideo\') By the way, at the row: "rule field", I also tried to change "is" to "contain" or "startwith" but not worked. Can you spend some times to help me? Thank a lot Tung |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2012-04-28 07:43
Post: #4
Your original smartplaylist was fine. The debug log indicates you're using a smartplaylist with "is" rather than "contains".
Always edit smartplaylists using the GUI. Don't edit by hand. Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |
tungnt
Junior Member Posts: 11 Joined: Apr 2012 Reputation: 0 |
2012-04-28 10:02
Post: #5
Jhsrennie,
Yes, I am using GUI to edit smartplaylists but never run them successfully. Do you have any suggestions for me, i.e: change the version of XBMC or configure somethings? Thank Tung |
| find quote |
LowBoost
Junior Member Joined: Oct 2011 Reputation: 0 |
2012-04-29 00:15
Post: #6
JMarshall:
In XBMC 10.1 I used smart playlist with "starts with" rather than "contains". Do I need to use "contains" now? Then, where do I set the playlist to show under the home menu? |
| find quote |
tungnt
Junior Member Posts: 11 Joined: Apr 2012 Reputation: 0 |
2012-04-29 02:59
Post: #7
Low Boost,
Which skin are you using? If original confluence, you can not show the playlist under the home menu. You should use mod confluence or other skins, then in the System - Setting - skin, you will find the Customize home menu or something like that, where you can show the playlist in home menu. If you are not sure about this, search "how to show playlist in home menu" + youtube, you will have a detailed instruction video. By the way, can you send me the content of your playlist? I can not run playlist in my xbmc. Thank Tung |
| find quote |
LowBoost
Junior Member Joined: Oct 2011 Reputation: 0 |
2012-04-29 03:45
Post: #8
OK - Just I thought. Same as in Dharma.
When you create the Smart Playlist, make sure you select "Path" and "Starts With". I had the same issue back with Dharma. Once I set it to Path/Starts With and select target folder it works. I will send you a PM when I get home later tonight. |
| find quote |
tungnt
Junior Member Posts: 11 Joined: Apr 2012 Reputation: 0 |
2012-04-30 08:55
Post: #9
any other person has solution? please help.
Thank Tung |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2012-04-30 09:02
Post: #10
Again, get the debug log. It shows exactly what the query is, which will reveal the issue once you look in the db.
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first. ![]() |
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/projects/9132/badge.gif)
Search
Help