Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-11-26 Thread azaz44

Can I somehow display an icon in iPeng?

I display one for Touch/Radio, I'm just using one of existing icons for
now. But iPeng shows a blank space.


-- 
azaz44

azaz44's Profile: http://forums.slimdevices.com/member.php?userid=21080
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-11-26 Thread pippin

Which icon is it? How do you display it?
Is it shown in SqueezePlay?
"normal" icons that are being transferred as an image URL should show.
iPeng has it's own icon display mechanism for top level menus (in which
the big SqueezePlay Icons don't work), is this a top-level menu (or one
in "My Music")?


-- 
pippin

---
see iPeng, the Squeezebox iPhone remote and 
*New: iPeng for iPad*, at penguinlovesmusic.com

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-11-26 Thread azaz44

pippin;591128 Wrote: 
> Which icon is it? How do you display it?
> Is it shown in SqueezePlay?
> "normal" icons that are being transferred as an image URL should show.
> iPeng has it's own icon display mechanism for top level menus (in which
> the big SqueezePlay Icons don't work), is this a top-level menu (or one
> in "My Music")?

This is a menu in "My Music", but iPeng shows it at the root (which is
normal I think).

I display the icon by specifying the URL as menu property "icon", the
URL is: 'html/images/plugin.png'.

This is a standard icon, which exists in SC, but maybe iPeng doesn't
support it (I think I didn't see it displayed anywhere in the Radio).

In future I would like to make my own icon. I would make one for iPeng
as well if there's any way to send display it.


-- 
azaz44

azaz44's Profile: http://forums.slimdevices.com/member.php?userid=21080
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-11-26 Thread pippin

azaz44;591133 Wrote: 
> This is a menu in "My Music", but iPeng shows it at the root (which is
> normal I think).
> 
Yes.
> 
> I display the icon by specifying the URL as menu property "icon", the
> URL is: 'html/images/plugin.png'.
> 
That doesn't work in iPeng's root menu because the TabBAr controller
which is iPeng's main menu requires monochrome images that use an alpha
chanlle for the background. All SBS icons have a solid background and
thus would show up as a solid square (reminds me that I could actually
change this for iPad since on iPAd I use my own controller which
supports colors...).

You can still set the icon in two ways:
1. You can use one of iPeng's standard icons but in this case you would
have to know their IDs. I could tell you the IDs if you like.
The alternative is to use an additional "menuIcon" property. It works
like the normal "icon" property except that the icons should be 40x30
pixels in size and needs to have an alpha channel. You can use colors
but they will actually all show as black, if you want gray you need to
use lower alpha (opacity) levels.


-- 
pippin

---
see iPeng, the Squeezebox iPhone remote and 
*New: iPeng for iPad*, at penguinlovesmusic.com

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-11-26 Thread pippin

Here's the documentation for this:
http://bugs.slimdevices.com/show_bug.cgi?id=13036

For the "menuIconID" thing you can use any menu id as provided by the
server, e.g. "myMusicArtists" for "Artists" or "opmlnapster" for
Napster and so on.


-- 
pippin

---
see iPeng, the Squeezebox iPhone remote and 
*New: iPeng for iPad*, at penguinlovesmusic.com

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-11-27 Thread azaz44

pippin;591146 Wrote: 
> Here's the documentation for this:
> http://bugs.slimdevices.com/show_bug.cgi?id=13036
> 
> For the "menuIconID" thing you can use any menu id as provided by the
> server, e.g. "myMusicArtists" for "Artists" or "opmlnapster" for
> Napster and so on.

This is exactly what I dreamed about.
iPeng is good ebough to make extra icons for it :)


-- 
azaz44

azaz44's Profile: http://forums.slimdevices.com/member.php?userid=21080
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-11-27 Thread azaz44

It worked like a charm.


-- 
azaz44

azaz44's Profile: http://forums.slimdevices.com/member.php?userid=21080
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-11-27 Thread pippin

cool :)
Do you have a screen shot you can share?


-- 
pippin

---
see iPeng, the Squeezebox iPhone remote and 
*New: iPeng for iPad*, at penguinlovesmusic.com

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-11-27 Thread azaz44

pippin;591291 Wrote: 
> cool :)
> Do you have a screen shot you can share?

Here you have it.
It's just a private plugin, I don't know if it ever get a state so it
could be released. But still it's good to have a nice icon :)


+---+
|Filename: icon_main_big_touch.jpg  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=10915|
+---+

-- 
azaz44

azaz44's Profile: http://forums.slimdevices.com/member.php?userid=21080
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-11-27 Thread azaz44

Another question.
I made a context menu with too items: 'play' and 'add' (no
translation). And somehow iPeng displayed proper icons for them ('+'
for add, triangle for play), which I didn't expect. I guess it's
because of these common names.

But soon I'm going to change the names (minimum use translation). How
do I control these icons, with IDs? (which?)


-- 
azaz44

azaz44's Profile: http://forums.slimdevices.com/member.php?userid=21080
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-11-28 Thread pippin

Sorry, I originally replied in the wrong thread.
Don't worry, iPeng looks for the actual command you are using so unless
your plugin supplies it's own CLI command using a different syntax you
should be safe with translations.


-- 
pippin

---
see iPeng, the Squeezebox iPhone remote and 
*New: iPeng for iPad*, at penguinlovesmusic.com

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-11-29 Thread azaz44

Excuse me to bother you with another question, but this one looks like
some general issue with iPeng.

I made a context menu with Add, Insert, Play. On 'Play' action I
specify, that the player should go to "Now Playing" after executing the
action.

This works fine both in SqueezePlay and iPeng. But iPeng doesn't
"close" the context menu (so actually it doesn't go back from the
context menu). So if are at "Now Playing" now, and you press the left
arrow to go back to your music collection, you're still in the context
menu with Add-Insert-Play.

SqueezePlay (and Radio, Touch) would close the context menu, which I
think is correct behaviour.

I wanted to look how to fix this, but then I realized, that this
happens everywhere in iPeng (in Music Folder, Albums etc), not only in
my plugin.

Is there any reason for this behaviour?


-- 
azaz44

azaz44's Profile: http://forums.slimdevices.com/member.php?userid=21080
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-11-29 Thread pippin

Well, it's just how iPeng behaves.
Could you file a ticket for this, it might be worth changing although
it will be difficult. All menus in iPeng (including NowPlaying) are
part of a menu stack and I'd have to extract the menu from the stack.
It's possible, I'm doing it in other places, too, but needs tweaking.


-- 
pippin

---
see iPeng, the Squeezebox iPhone remote and 
*New: iPeng for iPad*, at penguinlovesmusic.com

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-11-30 Thread azaz44

pippin;591732 Wrote: 
> Well, it's just how iPeng behaves.
> Could you file a ticket for this, it might be worth changing although
> it will be difficult. All menus in iPeng (including NowPlaying) are
> part of a menu stack and I'd have to extract the menu from the stack.
> It's possible, I'm doing it in other places, too, but needs tweaking.

I added, but I'm not seeing it. So I'm nut sure if it is there, because
I also see a lot of DB errors now, while going around screens, looking
like this:


Code:

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/trac/web/main.py", line 387, in 
dispatch_request
  dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.5/trac/web/main.py", line 206, in 
dispatch
  req.hdf = HDFWrapper(loadpaths=chrome.get_all_templates_dirs())
  File "/var/lib/python-support/python2.5/trac/web/clearsilver.py", line 135, 
in __init__
  raise TracError, "ClearSilver not installed (%s)" % e
  TracError: ClearSilver not installed 
(/usr/lib/python2.5/site-packages/neo_cgi.so: failed to map segment from shared 
object: Cannot allocate memory)



-- 
azaz44

azaz44's Profile: http://forums.slimdevices.com/member.php?userid=21080
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-11-30 Thread pippin

Ok, I need to restart the server.
The ticket came through, I got the mail, thanks!


-- 
pippin

---
see iPeng, the Squeezebox iPhone remote and 
*New: iPeng for iPad*, at penguinlovesmusic.com

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-12-30 Thread azaz44

Hello pippin. More questions about iPeng:

Question 1:
---
I would love to group some items in the browse menus in my plugin. For
example there would be 20 items with a title "Piano Trio" and another
20 with a title "String Quartet", all in the same menu. I think
SqueezePlay doesn't support such thing. iPeng has a great UI to do this
already, and it actually uses it to display first title letter
sometimes. Not sure what it depends on. I get it in one particular
menu, but on one of my servers. On the other one I don't get it
somehow. Both are SBS 7.5.1. See Screenshot.

So, what I want is I want to control these things and put my strings
there.
Is it supported or any chance to have it?

Question 2:
---
I can use '\n' in menu item->{title}. Then iPeng will show two lines,
one black, one gray. This looks great and allows me to put more
information. But SqueezePlay will display two normal lines and it looks
shit.

Any way to have a separate title for iPeng, so I leave SqueezePlay with
one line and add extra support for iPeng?
(Or mayby it is better to go with menu style 'album'?).


+---+
|Filename: Picture 005.jpg  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=11080|
+---+

-- 
azaz44

azaz44's Profile: http://forums.slimdevices.com/member.php?userid=21080
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-12-30 Thread azaz44

Hmm, I'm afraid I have more questions. All of them to make iPeng even
better :)

Question 5
--
Any way to get the functionality, which is marked at the screenshot, in
iPeng? This comes from "window -> help". I consider using it to display
information / help about the menu which is just displayed, but it
doesn't make sense if iPeng will not display it.

Question 6 / bug
-
I'm not sure if this was ever reported.

Sometimes, especially when using context menus, strange situation
happens. Typically when you enter context menu on some item, then close
it.

Then you click on another item, but iPeng makes action (ie. goes to
submenu) on the item which was previously selected (the one used to
open a context menu).

Additionally trying to show a context menu by holding a finger will do
this it on this wrong item, or (mostly) do nothing at all.

I have a feeling it is related to the context menus, but I'm not 100%
sure. It happens a lot in my plugin (extensively uses context menus),
but I also get this in standard "Music Folder" from time to time.

Just wondering if you know about the problem. If it's new, I can look
for ways to reproduce and fill some report..

Question 7
--
Ok, this one's really crazy. But who knows, maybe iPeng has something
:) Any possibility to display some entirely custom content, like a web
page, or at least at image, somehow from the menus?


+---+
|Filename: Capture.jpg  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=11081|
+---+

-- 
azaz44

azaz44's Profile: http://forums.slimdevices.com/member.php?userid=21080
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-12-30 Thread pippin

azaz44;598342 Wrote: 
> 
> Question 1:
> iPeng has a great UI to do this already, and it actually uses it to
> display first title letter sometimes. Not sure what it depends on. I
> get it in one particular menu, but on one of my servers. On the other
> one I don't get it somehow. Both are SBS 7.5.1. See Screenshot.
> 
It depends on two things:
The menu needs to have enough items (at least 50, I believe) and it
needs to be alphabetically sorted.
> 
> So, what I want is I want to control these things and put my strings
> there.
> Is it supported or any chance to have it?
> 
It's not supported, yet. We'd have to define some protocol for sorting
categories.
Could you file a bug at bugs.slimdevices.com and link here, I don't
think this should be strictly iPeng specific.
> 
> Question 2:
> ---
> I can use '\n' in menu item->{title}. Then iPeng will show two lines,
> one black, one gray. This looks great and allows me to put more
> information. But SqueezePlay will display two normal lines and it looks
> shit.
> 
> Any way to have a separate title for iPeng, so I leave SqueezePlay with
> one line and add extra support for iPeng?
> (Or mayby it is better to go with menu style 'album'?).
> 
iPeng sends a parameter "userInterfaceIdiom:iPeng", maybe you can use
that to detect whether you are generating a menu for iPeng or SP.
> 
> Question 3 :)
> I added some regular SBS icons in some menu items. They display fine,
> like in SqueezePlay, but I think it would be better if they would be
> smaller. The original image is 512x512 and it is resized by iPeng (or
> server?). Any way to set the icon size?
> 
It's resized by the server.
There is no way to change the size, you could see whether it helps to
use the menuIcon tag, maybe it takes precedence and maybe it's shown
smaller(don't know right now).
> 
> Question 4 :)
> I have the main icon for the plugin, which is B/W with alpha, as you
> see on the screenshot. It is small, about 40x30 or sth. like this. So
> small size. But it takes time to load in iPeng (like 30 seconds), and
> sometimes doesn't load at all. What could be wrong?
It needs to load it from the server first and since iPeng is usually
loading some other images, too, after startup it can take a bit until
it's your icon's turn.
I have seen, too, that it sometimes doesn't show up but I have not
found out why that is, then.

azaz44;598366 Wrote: 
> Hmm, I'm afraid I have more questions. All of them to make iPeng even
> better
> 
Indeed
I appreciate this, seriously!
> 
> Question 5
> --
> Any way to get the functionality, which is marked at the screenshot, in
> iPeng? This comes from "window -> help". I consider using it to display
> information / help about the menu which is just displayed, but it
> doesn't make sense if iPeng will not display it.
> 
Do you know how that looks in the protocol? Any example where I can get
this? So far I thought this is strictly client side.
> 
> Question 6 / bug
> -
> I'm not sure if this was ever reported.
> ...
> Then you click on another item, but iPeng makes action (ie. goes to
> submenu) on the item which was previously selected (the one used to
> open a context menu).
> ...
> Just wondering if you know about the problem. If it's new, I can look
> for ways to reproduce and fill some report..
> 
I don't think it was reported but I know about it.
Actually I thought I had fixed it, but it was maybe only on iPad. It
has to do with the way the "hold" gesture is detected, iPeng is still
backward compatible with iOS 3 which doesn't have gesture recognizers
so I have to use my own mechanism which has some drawbacks :D
> 
> Question 7
> --
> Ok, this one's really crazy. But who knows, maybe iPeng has something
> :) Any possibility to display some entirely custom content, like a web
> page, or at least at image, somehow from the menus?

Will come in one of the next two releases. Next one is probably
playback only but the one after that will bring a lot of integration
stuff so this will be doable, then.

You can even now integrate content that will then open up in Safari by
adding "weblink => " tags to your menu and not defining any other
default actions (do or go).


-- 
pippin

---
see iPeng, the Squeezebox iPhone remote and 
*New: iPeng for iPad*, at penguinlovesmusic.com

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-12-30 Thread azaz44

Most of these things don't have to be iPeng specific. I raise them with
the understanding, that any other controller can use them as well.
iPeng was the first, so it has some rights now to specify new
protocols.

pippin;598437 Wrote: 
> It depends on two things:
> The menu needs to have enough items (at least 50, I believe) and it
> needs to be alphabetically sorted.
> 
> It's not supported, yet. We'd have to define some protocol for sorting
> categories.
> Could you file a bug at bugs.slimdevices.com and link here, I don't
> think this should be strictly iPeng specific.

Will do tomorrow.

> iPeng sends a parameter "userInterfaceIdiom:iPeng", maybe you can use
> that to detect whether you are generating a menu for iPeng or SP.

This is just great to hear. I will test tomorrow.

Actually I cannot get two lines on SqueezePlay at the moment. It always
shows just \n in the middle of the string. I'm sure I got two lines in
SP one day, but it looked ugly - it was same font, same size, and two
lines of the same colour and style which barely fitted to the space
they had.

> It's resized by the server.
> There is no way to change the size, you could see whether it helps to
> use the menuIcon tag, maybe it takes precedence and maybe it's shown
> smaller(don't know right now).

Will test menuIcon...

> Do you know how that looks in the protocol? Any example where I can get
> this? So far I thought this is strictly client side.

see here:
http://wiki.slimdevices.com/index.php/SBS_SqueezePlay_interface
search for "window_fields".

However the page says it should be:

Code:

help = {
  text = "..."
  }



And this didn't work for me (but showed question mark). This worked:

Code:

help = 'text'



All under the 'window' entry.

> Will come in one of the next two releases. Next one is probably playback
> only but the one after that will bring a lot of integration stuff so
> this will be doable, then.
> 
> You can even now integrate content that will then open up in Safari by
> adding "weblink => " tags to your menu and not defining any other
> default actions (do or go).

Not sure how it's going to work, but weblink looks not bad. Will test
:)


-- 
azaz44

azaz44's Profile: http://forums.slimdevices.com/member.php?userid=21080
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-12-30 Thread pippin

On the "help" thing:
What exactly is it you are trying to accomplish?
iPeng currently ignores help strings because originally they were
tailored for the controller and were just plain wrong in iPeng.
Not sure whether this is still true, after all the Touch has a touch
screen, too.


-- 
pippin

---
see iPeng, the Squeezebox iPhone remote and 
*New: iPeng for iPad*, at penguinlovesmusic.com

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-12-31 Thread azaz44

pippin;598454 Wrote: 
> On the "help" thing:
> What exactly is it you are trying to accomplish?
> iPeng currently ignores help strings because originally they were
> tailored for the controller and were just plain wrong in iPeng.
> Not sure whether this is still true, after all the Touch has a touch
> screen, too.

Hm, actually I've never seen this thing until I tried it in the plugin
to test. I don't have a Touch, have one radio but it's in the kitchen
and I hardly ever use it..

Here's what I could possibly do with this --> screenshots.

I'm aware of the fact, that having this help button in the same place
as 'now playing' makes it harder to go to the 'now playing' (you have
to click twice). But well, that's how they did it. They could place two
buttons instead and maybe one day they change it..

[Haydn's bio taken from wikipedia]


+---+
|Filename: help3.jpg|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=11085|
+---+

-- 
azaz44

azaz44's Profile: http://forums.slimdevices.com/member.php?userid=21080
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-12-31 Thread azaz44

I have problems using your tracking system. I registered myself in the
past and I know my username and email. I think I know the password, but
am not sure about it. I cannot login, I cannot use "Lost password
option" - it sais my email and username don't match any account. Also,
the bug which I reported in the past - #294 - is not there, and there's
some other issue in this place. Help...

This is what I reported in the past:

Code:

#294: Context Menu - should close when going to NowPlaying
  +---
  Reporter:  azaz44  |Type:  Bug report  
  Status:  new |Priority:  major   
  Milestone:  |   Component:  Native application - Browse menu
  Version:  1.2.8   |Keywords:  
  +---
  If you show a context menu on any item while browsing music, you typically
  have the action "Play", which plays the music and moves to the "Now
  Playing" screen automatically. However, doing this doesn't close the
  context menu. So if you move back to your music collection, you're still
  in the context menu.
  
  I think it should close the menu, and then move to NowPlaying, like it is
  in SqueezePlay. It's also more consistent with "Add" and "Insert" actions,
  which close the context menu when used.
  
  -- 
  Ticket URL: 
  iPeng Native 
  iPeng native iPhone application project



-- 
azaz44

azaz44's Profile: http://forums.slimdevices.com/member.php?userid=21080
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-12-31 Thread azaz44

So:

userInterfaceIdiom:iPeng - works fine.

menuIcon - doesn't work, it still prefers 'icon' if it's there. But one
can use uiIdiom to set only 'icon' or 'menuIcon' here.

webLink - didn't get it working. Where should I specify it? Tried at
item level (removing all actions) and at item->actions, removing all
other actions. No luck.


-- 
azaz44

azaz44's Profile: http://forums.slimdevices.com/member.php?userid=21080
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-12-31 Thread pippin

It's weblink with a lowercase "l" I believe and the syntax should be
weblink => URL
Will look it up later.


-- 
pippin

---
see iPeng, the Squeezebox iPhone remote and 
*New: iPeng for iPad*, at penguinlovesmusic.com

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-12-31 Thread azaz44

So I wait with the weblink, cause it takes too much time to try
guessing.

BTW. I got multiline in SP. What I was doing wrong, I was having '\n'
in a string, but this was a backslash-n and not an actual new line
character (I didn't know you have to use "\n" and not '\n' in Perl..).
What is funny, is iPeng displayed it correctly which might be
considered a bug. Would be trouble with a string line "Catalog number:
KV/120/n" :)

This is how ugly it looks in SP:


+---+
|Filename: SP_multiline.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=11086|
+---+

-- 
azaz44

azaz44's Profile: http://forums.slimdevices.com/member.php?userid=21080
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-12-31 Thread pippin

Looked it up.
It's
weblink => URL
directly on the iTem level (not as an action or somethig)


-- 
pippin

---
see iPeng, the Squeezebox iPhone remote and 
*New: iPeng for iPad*, at penguinlovesmusic.com

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-12-31 Thread azaz44

Weblink works fine. But not very useful for me, as it closes iPeng and
opens Safari with no clean way of getting back.

I have two new bugs for you, one important. If you fix my trac account
(shell I just create new?), I'll report them.

Bug #1 (critical):

I have a menu displayed, each item has two lines (newline character in
the string). Now I refresh menu contents (by going to submenu and going
back with refresh). In new content each item has only one line (no
newline char). What happens, it shows two lines for each item, first
coming from the new item, and the second coming from the item before
refresh.

Bug #2:
---
This one is not important to me, because I made a workaround. Just so
you know.

I set "ID" for each of my menu. Then I use this in "nextWindow" so
iPeng goes to the window I want. I use it instead of using 'parent',
'grandparent' (because I need 'grandgrandparent').

Now, all my menus have the same ID. This should be allowed.

Behaviour in SP: it goes back until it finds the menu with given ID
(correct).
Behaviour in iPeng: it goes to the first menu (starting from plugin
root) which has given ID (wrong).

It is specified, it should search menus -backwards- here:

http://wiki.slimdevices.com/index.php/SBS_SqueezePlay_interface


Code:

Valid nextWindow directives are:
  
  * nowPlaying: push to the Now Playing browse window
  * [...]
  * (7.4+)any other value of a window that is present on the window stack and 
has a "windowId" in it's window fields. Search the window stack backwards until 
a window with this windowId is found and pop all windows above it.



-- 
azaz44

azaz44's Profile: http://forums.slimdevices.com/member.php?userid=21080
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-12-31 Thread pippin

Your trac account should work, I believe the issue was not with your
account but my trac instance running out of memory. Happens from time
to time.

#1: will have to investigate

#2: that's indeed embarrassing. I believe it was actually ME who
specified this :blush:


-- 
pippin

---
see iPeng, the Squeezebox iPhone remote and 
*New: iPeng for iPad*, at penguinlovesmusic.com

pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Plugin development for iPeng

2010-12-31 Thread azaz44

I added a bunch of tickets to the trac.


-- 
azaz44

azaz44's Profile: http://forums.slimdevices.com/member.php?userid=21080
View this thread: http://forums.slimdevices.com/showthread.php?t=83474

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins