Nuka,
Are you sure you retrieved the svn with my change included (I believe it takes a few hours to be released)? I managed to replicate the fault that you described very easily and the change I submitted fixed it for me.
I'll make your * to / change (though I'll also keep the use of * for backward compatibility).
I could make the change to include folders when a mask is set but to me it doesn't seem that logical. Why return something (folders) that doesn't match the mask?
WebServer HTTP API (HttpApi): for PocketPC and Web-client Remote Control Apps
nad
Team-XBMC Developer Posts: 265 Joined: Feb 2004 Reputation: 0 |
2008-01-02 20:57
Post: #521
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 |
nad
Team-XBMC Developer Posts: 265 Joined: Feb 2004 Reputation: 0 |
2008-01-02 21:11
Post: #522
Trex: I see the problem; will fix it tomorrow.
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 |
TREX6662k5
Member+ Joined: Oct 2006 Reputation: 0 Location: London, United Kingdom |
2008-01-03 00:05
Post: #523
Thanks nad.
Also, I had created a feature request on the tracker, which talks about adding an extra parameter to AddToSlideshow and AddToPlayList that controls whether the action is recursive or not. Is it possible this can be added, or is this something that can be done on the client side? Currently my script adds the files one by one in to the playlist, which can consume both time and network resources. And I don't want to the script to simulate the xboxes actions by also going though all the folders because i'd be making more problems than solving. WYSIWYG |
| find quote |
Nuka1195
Skilled Python Coder Posts: 3,917 Joined: Dec 2004 Reputation: 17 |
2008-01-03 07:22
Post: #524
yes i'm sure and it doesn't take hours for svn to update.
rar files are not seen as folders at all with "Make archives with one file transparent" enabled, not just rars with one file, but if it's working for you, i don't know. Quote: Why return folders when you set a mask, because the subfolders may have files that match your mask, so you can drill down. makes sense to me. |
| find quote |
jmarshall
Team-XBMC Developer Posts: 24,523 Joined: Oct 2003 Reputation: 138 |
2008-01-03 07:25
Post: #525
If they're not seen as folders, it's because CDirectory::GetDirectory() is called with bUseFileFolders set to false (i.e. no file->folder translation is performed)
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 |
nad
Team-XBMC Developer Posts: 265 Joined: Feb 2004 Reputation: 0 |
2008-01-03 10:19
Post: #526
Trex: fix uploaded. As far as your request, rather than add all the files in a folder one by one as you are currently doing wouldn't just passing the folder to AddToSlideshow do what you are after?
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 |
TREX6662k5
Member+ Joined: Oct 2006 Reputation: 0 Location: London, United Kingdom |
2008-01-03 10:39
Post: #527
Thanks nad.
Thats what I kinda do. I send AddToPlaylist (for videos and music) then I send SetPlaylistSong. However since the xbox has also added the contents of folders in its path, my script and xbox see things differently and the wrong file plays. WYSIWYG |
| find quote |
KevMoore123
Junior Member Posts: 26 Joined: Dec 2007 Reputation: 0 Location: England |
2008-01-04 21:07
Post: #528
Hi Guys,
The source for my slightly less impressive PDA Application can be found on sourceforge. The url is; http://xbmcm.svn.sourceforge.net/viewvc/xbmcm/ There is a readonly repository there for Subversion users. You will need VS2008 to compile this, and please bear in mind its a beta ![]() Enjoy Cheers Kev |
| find quote |
KevMoore123
Junior Member Posts: 26 Joined: Dec 2007 Reputation: 0 Location: England |
2008-01-05 01:36
Post: #529
Hi all,
ive just upgraded my xbox to the latest build, and now I cannot query via the HTTP API any queries such as; select strTitle from songview where strArtist like '%%Muse%%'; (in HTTP land) http://192.168.2.5/xbmcCmds/xbmcHttp?com...%%Muse%%'; if i run the same query through the SQLLite Database browser it returns results. Any ideas why this would be? thanks kev Moore |
| find quote |
KevMoore123
Junior Member Posts: 26 Joined: Dec 2007 Reputation: 0 Location: England |
2008-01-05 01:41
Post: #530
Sorry,
that was meant to say ; select strArtist from songview where strArtist like '%%Muse%%'; or select strTitle from songview where strTitle like '%%Everybody%%'; .. has the interface changed for LIKE queries?? thanks Kev Moore
|
| find quote |

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

Search
Help