• 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 11
[RELEASE] SimplePlaylists
#76
Well you´re able to launch simpleplaylist now allthough there is nothing in it yet.

I´m running XMBC in Portable Mode so all userfiles, addons etc is inside my xbmc installation folder next to/under xbmc.exe. In there my keyboard.xml file is inside ...\userdata\keymaps\ .
Read this http://wiki.xbmc.org/index.php?title=key...of_keymaps
I think you should copy XBMC\system\keymaps\keyboard.xml and overwrite the .\userdata\keymaps\keyboard.xml.
Then put in the key/string for simpleplaylist on the correct "level!. I put mine on the "global" level which I guess mean the keyboard shortcut is active wherever I am in XBMC.

Extracted from my keyboard.xml :
Code:
<keymap>
  <global>
    <keyboard>
      <F12>RunPlugin(plugin://script.simpleplaylists/?mode=addCurrentUrl)</F12>
    </keyboard>
  </global>
</keymap>

I don´t think there is any problem with the standard location for the simpleplaylst file, it´s here:
...\userdata\addon_data\script.simpleplaylists\SimplePlaylists.spl
It´s this file you may have to edit if some items doesn´t open correctly as I explained before (after you´ve been able to add them to a playlist!).

You seem to be able to launch simpleplaylist but here is the simpleplaylist part from my favourites.xml :
Code:
<favourites>
    <favourite name="SimplePlaylists" thumb="D:\XBMC\portable_data\addons\script.simpleplaylists\icon.png">ActivateWindow(10025,&quot;plugin://script.simpleplaylists/?content_type=video&quot;)</favourite>
</favourites>
/Lars
Reply
#77
(2013-03-20, 05:46)CaptainKen Wrote: C:\Users\Admin\AppData\Roaming\XBMC\userdata\keymaps
Code:
<keymap>
    <keyboard>
        <F2>RunPlugin(plugin://script.simpleplaylists/?mode=addCurrentUrl)</F2>
    </keyboard>
</keymap>
Hi,
it seems, you only missed one small piece: the <global> tag in your keymap xml file. Be sure it looks like this:
Code:
<keymap>
  <global>
    <keyboard>
      <F2>RunPlugin(plugin://script.simpleplaylists/?mode=addCurrentUrl)</F2>
    </keyboard>
  </global>
</keymap>
After changing this, you should be able to add items to simpleplaylist. Hopefully... Smile

I just installed aeon nox to have a look at this setttings-->launch thing, never seen this before in another skin. It wont work for me too.
But you dont need to run the addon so complicated. Go to Video/Audio/Pictures-> Addons -> SimplePlaylists or (as you already did) add an entry to your favourites.xml/homescreen.

I just saw (in your video), that your changed the Playlist directory via the add-on settings. This directory is only used when also you also select "Use alternative directory for playlist".
This setting is useful, if you want to access this playlist from multiple xbmcs in your network. So - you can leave this blank. (If you need to use it, you have to enter the full path: c:\..\.. for example)

@larchen: Thanks for helping out with your detailed support! Smile
Reply
#78
Thank you @larchen and @AddonScriptorDE!

I got a nice quick education! Had no idea that there were any settings being stored in the XBMC installation folder. I was also lost as to what the default save to folder was, as I kept looking for one called SimplePlaylists since that is what was displayed as the default. LOL

I see it's a little tricky to delete a playlist. The "Empty playlist" option appears to do it, but when you go to add pics to a playlist it is still shown in the list. Is this by design, something I'm doing wrong or a bug? I see there's a "manage playlist" content menu item that appears when pressing C on a playlist, but that only allows you to rename it.

Here's quick video on the finished product including adding to Aeon Nox menu.
HTPC: Dell Optiplex 7050 SFF i7-7700 quad-core, 3.6GHz, 16GB
NAS: Synology DS1813+ and DX513, Hybrid RAID (SHR) 48TB usable space
My Media Center | www.CaptainKen.us | www.YouTube.com/KenInGilbert
Reply
#79
You´re welcome!

Yay, you´ve got it running!

I just realized that my SimplePlaylist link in my XBMC Favourites is pointing directly to SimplePlaylist Video-category because that´s the only category I use this far but you managed anyway.

I haven´t tried so much deleting so I don´t know anything about it.

Except the ISDIR-editing I explained before I found out that I couldn´t put Radio Podcasts from a Music addon in Music category but it worked putting it in Video category which is ok.

/Lars
Reply
#80
(2013-03-22, 15:19)larchen Wrote: You´re welcome!

Yay, you´ve got it running!

I just realized that my SimplePlaylist link in my XBMC Favourites is pointing directly to SimplePlaylist Video-category because that´s the only category I use this far but you managed anyway.

I haven´t tried so much deleting so I don´t know anything about it.

Except the ISDIR-editing I explained before I found out that I couldn´t put Radio Podcasts from a Music addon in Music category but it worked putting it in Video category which is ok.

/Lars

Thanks again Lars for responding.

Should this code be changed to something else so it doesn't point to Video-category?
Code:
<favourite name="SimplePlaylists">RunPlugin(plugin://script.simpleplaylists/?mode=showPlaylists)</favourite>

Or, is there a file to manually edit in order to delete the playlist?
HTPC: Dell Optiplex 7050 SFF i7-7700 quad-core, 3.6GHz, 16GB
NAS: Synology DS1813+ and DX513, Hybrid RAID (SHR) 48TB usable space
My Media Center | www.CaptainKen.us | www.YouTube.com/KenInGilbert
Reply
#81
It´s the "content_type=video" -part that makes it open Video Category directly but your doesn´t have that so if it´s really opening Video -category it would be strange.

I haven´t done much deleting so I don´t know much about it but if it doesn´t work you could have a look at and perhaps edit these files manually:
userdata\addon_data\script.simpleplaylists\
playlists
SimplePlaylists.spl
subfolders
Reply
#82
(2013-03-23, 09:38)larchen Wrote: It´s the "content_type=video" -part that makes it open Video Category directly but your doesn´t have that so if it´s really opening Video -category it would be strange.

I haven´t done much deleting so I don´t know much about it but if it doesn´t work you could have a look at and perhaps edit these files manually:
userdata\addon_data\script.simpleplaylists\
playlists
SimplePlaylists.spl
subfolders

Thank you again!

It was in: userdata\addon_data\script.simpleplaylists\playlists
HTPC: Dell Optiplex 7050 SFF i7-7700 quad-core, 3.6GHz, 16GB
NAS: Synology DS1813+ and DX513, Hybrid RAID (SHR) 48TB usable space
My Media Center | www.CaptainKen.us | www.YouTube.com/KenInGilbert
Reply
#83
(2013-03-21, 04:53)CaptainKen Wrote: I see it's a little tricky to delete a playlist. The "Empty playlist" option appears to do it, but when you go to add pics to a playlist it is still shown in the list. Is this by design, something I'm doing wrong or a bug? I see there's a "manage playlist" content menu item that appears when pressing C on a playlist, but that only allows you to rename it.
Yes, youre right. Its not very obvious!
You can also delete via the context-menu "manage playlists". Just remove the the playlist you want (seperated by ';').
But i think i really have to rewrite the complete addon and improve the usability...
Reply
#84
(2013-03-29, 01:45)AddonScriptorDE Wrote:
(2013-03-21, 04:53)CaptainKen Wrote: I see it's a little tricky to delete a playlist. The "Empty playlist" option appears to do it, but when you go to add pics to a playlist it is still shown in the list. Is this by design, something I'm doing wrong or a bug? I see there's a "manage playlist" content menu item that appears when pressing C on a playlist, but that only allows you to rename it.
Yes, youre right. Its not very obvious!
You can also delete via the context-menu "manage playlists". Just remove the the playlist you want (seperated by ';').
But i think i really have to rewrite the complete addon and improve the usability...

Thank you for responding.

As shown below, I've tried pressing "C" everywhere I could think of, but I don't see the "manage playlists" anywhere?

- On the Add-on name itself
- On the source folder
- on a photo
HTPC: Dell Optiplex 7050 SFF i7-7700 quad-core, 3.6GHz, 16GB
NAS: Synology DS1813+ and DX513, Hybrid RAID (SHR) 48TB usable space
My Media Center | www.CaptainKen.us | www.YouTube.com/KenInGilbert
Reply
#85
(2013-03-21, 04:53)CaptainKen Wrote: As shown below, I've tried pressing "C" everywhere I could think of, but I don't see the "manage playlists" anywhere?

- On the Add-on name itself
- On the source folder
- on a photo
The context menu is available on playlists! I thought you already found it, but did not know how to use it:
(2013-03-21, 04:53)CaptainKen Wrote: I see there's a "manage playlist" content menu item that appears when pressing C on a playlist, but that only allows you to rename it.

But its really not very obvious! I will have to change some things...
Reply
#86
With a little bit of manual editing of the spl-file the addon is working fine for me.
The only thing I miss is alphabetical sorting of playlist items.
I tried manually sorting the spl-file in alphabetical order but it didn´t help.
It seems that playlist items are sorted in order of the dates they were added.

Is there any way to get alphabetical sorting?
Reply
#87
having a hard time figuring out how to call this addon from a web page using json. below is one of the variations of what i have tried, and i keep getting the following return:

{"error":{"code":-32602,"message":"Invalid params."},"id":"1","jsonrpc":"2.0"} from:

http://192.168.3.218/jsonrpc?request={"jsonrpc":"2.0","id":"1","method":"Addons.ExecuteAddon","params":{"wait":true, "addonid":"script.simpleplaylist", "params":{"mode":"addCurrentUrl"}}}

any help is appreciated.. still trying to get a handle on how the json commands work.
Reply
#88
(2012-10-27, 23:40)AddonScriptorDE Wrote:
(2012-09-25, 23:05)matkoo Wrote: I have a question about Settings of SimplePlayLists.
- what does mean "Use alternative directory for playlist"?
- is it relative sub-directory to some hard-coded location or can it be anywhere, e.g. on shared drive (this did not work for me)?
Yes, you can change the directory for saving the playlist. It could be any directory. It should work on a shared drive too, but I did not test this... I have to look for this!
Its a custom playlist. The default location is: XBMC/userdata/addon_data/script.simpleplaylists/SimplePlaylists.spl
Was it ever checked that the Alternative Directory can be a Shared Network Location? I am entering an smb:// location and I am getting a script error from the AddOn. The location is the same as used by other AddOns, so XBMC definitely has access to it.

I have multiple devices and MySQL and I would like the SimplePlaylists to be able to be shared across the network by all the devices.
If I have helped you or increased your knowledge please click the 'Thumb Up - Like' button to show me your appreciation :)
For YouTube questions see the official thread here.
Reply
#89
I am trying to make use of SimplePlayLists, but I am getting an errormessage after starting SimplePlayLists.

Edit:
The subfolder C:\\Users\\Harry\\AppData\\Roaming\\XBMC\\userdata\\addon_data\\script.simpleplaylists\\lastContentType doesn't exist on my Windows 7 computer,

My Windows 8 computer is giving the same error.

I am making use of XBMC 12.2
Reply
#90
remove the log spam from the forum. read the rules
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
  • 1
  • 4
  • 5
  • 6(current)
  • 7
  • 8
  • 11

Logout Mark Read Team Forum Stats Members Help
[RELEASE] SimplePlaylists2
This forum uses Lukasz Tkacz MyBB addons.