Ipod Library access -- Musicplayer not notify - ipod

i want to play songs form my application when user select song which is list out in the table view .i successfully list out songs from my iphone itunes to my application but when i select any song it only play song which is play currently in iphone.i apply notification then also it not change the song.so what i have to do to solve this problem.
i am using MPMusicPlayerController and settheQuerywithCollections with MediaItemCollections
Thanks.

It seems that you have turned on "Repeat One Song" function.
If you have correctly set PlaybackQueue, try fixing the repeating problem.

Related

How to get HTML leaderboard into discord channel that auto updates

Is there anyway I can make this leaderboard show in a discord channel as as embedded or parae it to look directly like that, but show in a channel a dn auto update?
I’ve been trying all day and all I can do it get texts files to show on discord or a slipper sloppy website parse. Please Somone else , I just want to top 5-10 leaderboards user and for it to auto-update maybe every hour
enter image description here
Have you tried using Webhooks?
This Reddit post explains the process in detail
A Discord Bot might also be usable in this case

Send IconicTile Notification in Windows Phone

I am trying to send Iconic Tile Notification from Server to Client using node2dm. Node2dm provides us with 'mpns' module which I am using to send Messages. I want my notification to look like the first tile in the image and not like the second one.
Now I have two issue.
=>. First is, I am able to send notifications of second type where notification count appears in a circle. But I am not able to clear that notification count. I used
mpns.sendTile(pushUri, backgroundImage, count, title, backBackgroundImage)
for this. I tried sending count=0 for clearing the notification from tile but it didn't work.
=>. Second problem is, I tried sending notification of first type from above image since I was not able to clear the notification count for previous one. And also this looks more elegant. For this I used
mpns.sendIconicTile(pushUri, backgroundColor, count, title, iconImage, smallIconImage, wideContent1, wideContent2, wideContent3)
But with this. I am not even getting any tile update at all. There is an option of providing id in sendIconicTile() function, but I dont know what to pass it there. I don't have an id for my tile. Its primary default tile which I am trying to update, not a secondary tile. So I think 'id' shouldn't be required.
Can someone please help me with this. Or suggest some other way to update my tile.
Ok, I'm not familiar with node2dm, but I'll try to help. For the first problem, if you were sending notification by yourself you would set this line <wp:Count Action="Clear"></wp:Count> in notification XML payload. Now I'm not sure if you can do that with node2dm, but they should provide a way to set that.
The second problem looks as your client application doesn't have Iconic tile template. You need to change that in you app's WMAppManifest.xml. It needs to look something like this
<Tokens>
<PrimaryToken TokenID="YouAppNameToken" TaskName="_default">
<TemplateIconic>
<SmallImageURI IsResource="false" IsRelative="true">TileIcon.png</SmallImageURI>
<Count>0</Count>
<IconImageURI IsResource="false" IsRelative="true">TileIcon.png</IconImageURI>
<Title>Your title</Title>
</TemplateIconic>
</PrimaryToken>
</Tokens>

Windows PhoneToolkit ListPicker: implementing a countries list as in the settings?

I have a list of countries that I want to display in a list similar to that in the phone settings app
I tried using the toolkit's ListPicker but it had a poor performance in loading as the list size is large, it seems that this is a known issue with ListPicker.
is there any alternatives to implementing such a list ?
I know this is an old question, but here's the solution that worked for me:
Implement a new page with a ListBox.
In the new page, when an item is selected, save the selected Item/Index in the PhoneApplicationService.Current.State
Then navigate backwards and retrieve the saved Item/Index from the page state.

Open Graph - can I publish an action just to Ticker and Timeline (not to the News Feed)?

I'm trying to post an action via open graph, but I prefer it doesn't show up in the newsfeed, but rather only the ticker and the timeline only.
Any way that can be achieved?
Thanks.
Found it - there's a "no_story" param that will just post to timeline aggregations but that will disable newsfeed posting. Unfortunately it'll also disable the Ticker post too.

Time-Delayed MySQL "Update" for More Realistic Tally of Online Video Views

I'm creating a video embed page for a real estate site, where a user can go to watch a video tour of a given home. There is no other reason to visit that particular page, so I figured that I could use a simple MySQL Update to a "video view tally" column for that homes's row, which will update views=views+1 each time the page is loaded.
That's easy enough, but I want to give as realistic a "view" count as possible, so I'm trying to come up with a way to have that view tallied ONLY once the page has been loaded for a set number of seconds (say, 30).
Any thoughts on a good way to handle the timing aspect? I'd like to avoid javascript, if possible, but I'm open to if it it's handled simply enough.
Unfortunately the only way you will ever know if the page is still active is to have a client-side technology (like JavaScript) tell you that it is.
You can add a "counter" page that isn't meant to be viewed directly, but instead is accessed via JavaScript after a 30 second page timer has expired. The act of JavaScript accessing that page will trigger the counter logic.