Total number of songs in azuracast is not showing actual count of songs - count

When I have deployed a station on azuracast on latest stable relaease 0.16 than it shows 2X/3X/4x songs in playlist than the actual number of songs available in media section in that station.

Related

Query many webpages to get all products of a webstore?

for personal interest I wanna create a list with all products a webstore has. In Germany there are two big companies called "Media Markt" and "Saturn". "Media Markt"'s system is easy, they use a 7 digit number as ID for their products. So I wanna get all those products but I think doing 10 million requests in 12 threads (bcs of my PC has 12 cores) in a short time will overwhelm the server or make the server ignoring my requests after a short time. What can I do to get this list with all products?
I am thankful for any ideas.

Change prices according to quantity and location

I need to change the prices of various articles in WordPress, according to the quantity that is requested, and in the same way that the prices are different depending on where you are buying. For example, buying 1 apple in Mexico costs 5 dlls and buying 5 costs 20 dlls. But buying 1 apple in the US costs 8 dlls and buying 5 costs 36 dlls. Any plug-in or way to do it?
As in the comment above, I solved this with two WP plugins, the first one is Country Based Restrictions which allowed me to create products and decide in which countries they can be seen. The second is Dynamic Pricing With Discount which you can create different prices depending on the number of products

Change google form questions based on spreadsheet and other questions

I'm currently working on some code for a Google Form for a family football pool we do every year. I have it made to where the user selects their name from a list of competitors and then selects the team they want to pick that week. Each player cannot pick a team more than once and no more than 8 players can select any given team in one week.
Is there a way to gray out teams based on the teams a player already picked? I have a spreadsheet with everyone's name and the teams they picked. I manually update it based on last weeks results, each player is listed in a row with all the teams they picked in the cells next to their name.
Also how do I gray out teams that have already been picked by 8 players that week?

Is there some kind of open javascript library for BigQuery UDFs (for Google Analytics data)?

As in topic. Perphaps some of you have stumbled upon the javascript library available in public or list of examples that would be particulary useful while using BigQuery with Google Analytics data? Interesting blog articles count too :)
What you really need is BigQuery Analytics Cookbook
It has quite a wide range of useful use-cases / examples
Query optimization
Tips and best practices
• Query multiple tables
• 3 Days using comma separated table names
• Last 7 Days using TABLE_DATE_RANGE
• Last 3 Months using TABLE_DATE_RANGE
• Last 1 Year using TABLE_DATE_RANGE
• Specific Date Range
• Last 6 Days plus Today’s data (intraday) using multiple TABLE_DATE_RANGE
Basic query examples
• Total [metric] per [dimension]
• Average bounce rate per [dimension]
• Average number of product pageviews by purchaser type
• Average number of transactions per purchaser
• Average amount of money spent per session
• Sequence of hits (pathing analysis)
• Multiple custom dimensions at hit or session level
Advanced query examples
• Products purchased by customers who purchased Product A (Classic Ecommerce)
• Products purchased by customers who purchased product A (Enhanced Ecommerce)
• Average number of user interactions before purchase
• Percentage of stock sold per product
• Profitability of each product
• Real profitability of each product
Note: Using JS UDF can be expensive and also have quite a limitations - so you should use them if you really need. In most (if not all ) reasonably practical cases - using pure BigQuery Standard SQL will be more than sufficient

Number reports per subgroup

I have a table of Premiership Football teams, and another table of their squad. And I have recorded different stats per player per team. So I have two tables:
TEAM
and
PLAYER
# TEAM
1 Man U
2 Liverpool
3 Tottenham
TEAM # PLAYER SCORED ASSIST ETC
2 Gerrard 4 5
3 Soldado 2 7
2 Sterling 2 3
The TEAM table has the individual players from each team in a subtable for each team.
From this I have created a report from the PLAYER table to show the players name, team, stats etc. What I do need though is to number the records per amount of records in that team in the report itself, almost like page numbers.
For instance, Liverpool say have 20 players, I would like it show Gerrard 9/20, Sterling 18/20. It is one record per page. At the moment, all I can get is their record number, of all the players in the database, like 9/500.
What is the best way of doing numbering records per subgroup(each team)? I thought it would be more simple but doesn't look like it.
It was really simple. I just had to put a
=Count(*)
in the group header, and named it "groupcount". Then add another textbox and have
=[GroupCount]
in the record detail part of the report. Then it gave me the total number of records in each group displayed on each record.

Resources