A
A
anymorf2012-04-16 15:31:57
Data synchronization
anymorf, 2012-04-16 15:31:57

Sync player with low memory?

Initial data:
Volume of music ~ 20-40 GB
Player with a volume of 3.84 GB
How to make 3.84 GB of random music synchronized to the player,
but at the next synchronization, other songs / albums are already synchronized?
Advise programs or ways of implementation.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
mitric, 2012-04-16
@mitric

on any scripting language, you read a directory, create an array of file names, sort as you like, run in a loop and add file names to the resulting array until the total weight exceeds 3.84GB, save the array because will be needed when creating the next list ...

V
Vlad Zhivotnev, 2012-04-16
@inkvizitor68sl

[email protected]:~$ find music/ -type f -print | shuf -n2
music/untested/October Falls - Tuoni (2003)/01 - The Quiet Shores.mp3
music/Folk_real/Låtar på Svenska/Camouflage -
Tornman.mp3

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question